WP_Super_Cache_Rest_Get_Status::add_cache_disabled_status()protectedWPSCache 1.0

{} It's a method of the class: WP_Super_Cache_Rest_Get_Status{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->add_cache_disabled_status( $status );
$status(array) (required) (passed by reference — &)
-

Code of WP_Super_Cache_Rest_Get_Status::add_cache_disabled_status() WPSCache 1.8

protected function add_cache_disabled_status( & $status ) {
	global $wp_cache_config_file;

	if ( ! is_writeable_ACLSafe( $wp_cache_config_file ) ) {
		$status['cache_disabled'] = true;
	}
}