domain_mapping_supercachedir() WPSCache 1.0
Хуков нет.
Возвращает
Null. Ничего.
Использование
domain_mapping_supercachedir( $dir );
Код domain_mapping_supercachedir() domain mapping supercachedir WPSCache 1.7.1
function domain_mapping_supercachedir( $dir ) {
global $cache_path;
if ( ! function_exists( 'domain_mapping_warning' ) ) {
return $dir;
}
$siteurl = domain_mapping_siteurl( false );
if ( ! $siteurl ) {
return $dir;
}
$sitedir = trailingslashit( preg_replace( '`^(https?:)?//`', '', $siteurl ) );
return trailingslashit( $cache_path . 'supercache/' . $sitedir );
}