WP_Super_Cache_Rest_Get_Settings::get_is_preload_active()protectedWPSCache 1.0

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_is_preload_active();

WP_Super_Cache_Rest_Get_Settings::get_is_preload_active() code WPSCache 1.11.0

protected function get_is_preload_active() {
	if ( wp_next_scheduled( 'wp_cache_preload_hook' ) || wp_next_scheduled( 'wp_cache_full_preload_hook' ) ) {
		return true;
	} else {
		return false;
	}
}