WP_Super_Cache_Rest_Get_Settings::get_minimum_preload_interval() protected WPSCache 1.0
{} It's a method of the class: WP_Super_Cache_Rest_Get_Settings{}
No Hooks.
Return
Int.
Usage
// protected - for code of main (parent) or child class $result = $this->get_minimum_preload_interval();
Code of WP_Super_Cache_Rest_Get_Settings::get_minimum_preload_interval() WP Super Cache Rest Get Settings::get minimum preload interval WPSCache 1.7.1
protected function get_minimum_preload_interval() {
global $wpdb;
$count = $this->get_post_count();
if ( $count > 1000 ) {
$min_refresh_interval = 720;
} else {
$min_refresh_interval = 30;
}
return $min_refresh_interval;
}