wpsc_only_cache_known_pages

wpsc_only_cache_known_pages

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-super-cache.1.9.4

apply_filters('wpsc_only_cache_known_pages') is found 1 times:

  • /wp-cache-phase2.php line 2037
    		$cache_this_page = false;
    	} elseif ( isset( $wp_super_cache_query['is_304'] ) ) {
    		wp_cache_debug( 'HTTP 304 (Not Modified) sent. Caching disabled.' );
    		$cache_this_page = false;
    	} elseif ( empty( $wp_super_cache_query ) && ! empty( $buffer ) && apply_filters( 'wpsc_only_cache_known_pages', 1 ) ) {
    		wp_cache_debug( 'wp_cache_ob_callback: wp_super_cache_query is empty. Not caching unknown page type. Return 0 to the wpsc_only_cache_known_pages filter to cache this page.' );
    		$cache_this_page = false;
    	} elseif ( wpsc_is_caching_user_disabled() ) {
    		wp_cache_debug( 'wp_cache_ob_callback: Caching disabled for known user. User logged in or cookie found.' );
    		$cache_this_page = false;
    	} elseif ( wp_cache_user_agent_is_rejected() ) {