swift_performance_custom_purge_urls
Filter for custom purge URL list.
Parameters
$urls
array of URLs (full absolute path)
$rule
string, rule which was applied for custom purge request
Return
string
Example
// add homepage for every requests
add_filter('swift_performance_custom_purge_urls', function($urls, $rule){
$urls[] = site_url();
return $urls;
}, 10, 2);