WP_CLI::get_http_cache_manager()public staticWP-CLI 1.0

Метод класса: WP_CLI{}

No Hooks.

Return

WpHttpCacheManager.

Usage

$result = WP_CLI::get_http_cache_manager();

Code of WP_CLI::get_http_cache_manager() WP-CLI 2.7.0-alpha

public static function get_http_cache_manager() {
	static $http_cacher;

	if ( ! $http_cacher ) {
		$http_cacher = new WpHttpCacheManager( self::get_cache() );
	}

	return $http_cacher;
}