This filter can be used for changing the cached file names.
Changelog
Since 7.5.1 version
Parameters
1. "argToIncludeInFilename"- a custom argument that should have an effect on the names of the cached files.
2. $commentsArgs - the comment arguments of the cache file creator function. Using those the function generates the filename.
3. $dirs – the information of the folders for the cached files.
2. $commentsArgs - the comment arguments of the cache file creator function. Using those the function generates the filename.
3. $dirs – the information of the folders for the cached files.
Usage
add_filter('wpdiscuz_get_comments_cache_fileinfo_filename', function($argToIncludeInFilename, $commentsArgs, $dirs){
$argToIncludeInFilename = ''; // any string/number value
return $argToIncludeInFilename;
},15,3);
