wp_cache_catch_404() WPSCache 1.0
Catch 404 requests. Themes that use query_posts() destroy $wp_query->is_404
Хуков нет.
Возвращает
Null. Ничего.
Использование
wp_cache_catch_404();
Код wp_cache_catch_404() wp cache catch 404 WPSCache 1.7.1
function wp_cache_catch_404() {
global $wp_cache_404;
if ( function_exists( '_deprecated_function' ) )
_deprecated_function( __FUNCTION__, 'WP Super Cache 1.5.6' );
$wp_cache_404 = false;
if( is_404() )
$wp_cache_404 = true;
}