get_supercache_dir()WPSCache 1.0

Hooks from the function

Return

null. Nothing (null).

Usage

get_supercache_dir( $blog_id );
$blog_id **
-

get_supercache_dir() code WPSCache 1.12.0

function get_supercache_dir( $blog_id = 0 ) {
	global $cache_path;
	if ( $blog_id == 0 ) {
		$home = get_option( 'home' );
	} else {
		$home = get_blog_option( $blog_id, 'home' );
	}
	return trailingslashit( apply_filters( 'wp_super_cache_supercachedir', $cache_path . 'supercache/' . trailingslashit( strtolower( preg_replace( '/:.*$/', '', str_replace( 'http://', '', str_replace( 'https://', '', $home ) ) ) ) ) ) );
}