WP_Super_Cache_Rest_Update_Settings::set_wp_cache_not_logged_in() protected WPSCache 1.0
{} It's a method of the class: WP_Super_Cache_Rest_Update_Settings{}
No Hooks.
Return
Null. Nothing.
Usage
// protected - for code of main (parent) or child class $result = $this->set_wp_cache_not_logged_in( $value );
- $value(mixed) (required)
Code of WP_Super_Cache_Rest_Update_Settings::set_wp_cache_not_logged_in() WP Super Cache Rest Update Settings::set wp cache not logged in WPSCache 1.7.1
protected function set_wp_cache_not_logged_in( $value ) {
global $wp_cache_not_logged_in, $cache_path;
if ( 0 != $value ) {
if ( 0 == $wp_cache_not_logged_in && function_exists( 'prune_super_cache' ) ) {
prune_super_cache( $cache_path, true );
}
$wp_cache_not_logged_in = (int) $value;
} else {
$wp_cache_not_logged_in = 0;
}
wp_cache_setting( 'wp_cache_not_logged_in', $wp_cache_not_logged_in );
}