wpsc_cache_state

wpsc_cache_state

Hook Type: filter

See hook in core

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

apply_filters('wpsc_cache_state') is found 1 times:

  • /wp-cache.php line 2431
    2428
    2429
    2430
    2431
    2432
    2433
    2434
    2435
    2436
    2437
    function wpsc_generate_sizes_array() {
        $sizes = array();
        $cache_types  = apply_filters( 'wpsc_cache_types', array( 'supercache', 'wpcache' ) );
        $cache_states = apply_filters( 'wpsc_cache_state', array( 'expired', 'cached' ) );
        foreach( $cache_types as $type ) {
            reset( $cache_states );
            foreach( $cache_states as $state ) {
                $sizes[ $type ][ $state ] = 0;
            }
            $sizes[ $type ][ 'fsize' ] = 0;