wp_super_cache_init()
No Hooks.
Returns
null. Nothing (null).
Usage
wp_super_cache_init();
wp_super_cache_init() wp super cache init code WPSCache 3.1.0
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' );
}