wpsc_cache_types

wpsc_cache_types

Hook Type: filter

See hook in core

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

apply_filters('wpsc_cache_types') is found 1 times:

  • /wp-cache.php line 2316
    }
    
    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;
    		}