wp_super_cache_init()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wp_super_cache_init();
Код wp_super_cache_init() wp super cache init WPSCache 1.12.4
function wp_super_cache_init() { global $wp_cache_key, $key, $blogcacheid, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $meta_pathname; $wp_cache_key = get_wp_cache_key(); $key = $blogcacheid . md5( $wp_cache_key ); $wp_cache_key = $blogcacheid . $wp_cache_key; $cache_filename = $file_prefix . $key . '.php'; $meta_file = $file_prefix . $key . '.php'; $cache_file = wpsc_get_realpath( $blog_cache_dir ); if ( $cache_file ) { $cache_file .= '/' . $cache_filename; } $meta_pathname = wpsc_get_realpath( $blog_cache_dir . 'meta/' ); if ( $meta_pathname ) { $meta_pathname .= '/' . $meta_file; } return compact( 'key', 'cache_filename', 'meta_file', 'cache_file', 'meta_pathname' ); }