swift_performance_warmup_urls_to_save

You can overwrite the default array of URLs which will be saved to the Warmup table after you reset it.

This filter is used in Swift_Performance::get_prebuild_urls()

Parameters

$urls

array, list of URLs. Array key should be generated with Swift_Performance::get_warmup_id($url)

Return

array


Example

// override default warmup URLs
add_filter('swift_performance_warmup_urls_to_save', function($urls){
// Manipulate URLs here
return $urls;
}, 10, 2);