supercache_filename()
Хуки из функции
Возвращает
null. Ничего (null).
Использование
supercache_filename();
Код supercache_filename() supercache filename WPSCache 3.0.2
function supercache_filename() {
global $cached_direct_pages;
// Add support for https and http caching
$is_https = wpsc_is_https();
$extra_str = $is_https ? '-https' : '';
if ( function_exists( 'apply_filters' ) ) {
$extra_str = apply_filters( 'supercache_filename_str', $extra_str );
} else {
$extra_str = do_cacheaction( 'supercache_filename_str', $extra_str );
}
if ( is_array( $cached_direct_pages ) && in_array( $_SERVER['REQUEST_URI'], $cached_direct_pages ) ) {
$extra_str = '';
}
$filename = 'index' . $extra_str . '.html';
return $filename;
}