WP_Super_Cache_Rest_Get_Status::add_cache_disabled_status()
Метод класса: WP_Super_Cache_Rest_Get_Status{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->add_cache_disabled_status( $status );
- $status(массив) (обязательный) (передается по ссылке — &)
- -
Код WP_Super_Cache_Rest_Get_Status::add_cache_disabled_status() WP Super Cache Rest Get Status::add cache disabled status WPSCache 1.9.4
protected function add_cache_disabled_status( & $status ) { global $wp_cache_config_file; if ( ! is_writeable_ACLSafe( $wp_cache_config_file ) ) { $status['cache_disabled'] = true; } }