swift_performance_js_dir

This filter will be called on script directory where merged scripts will be saved

Parameters

$path

string, contains the script file path, relative to the cache folder


Return

string


Example

// change JS folder name
add_filter('swift_performance_js_dir', function($path){
 return 'scripts';
});