wpsc_preload_post_types_args

wpsc_preload_post_types_args

Hook Type: filter

See hook in core

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

apply_filters('wpsc_preload_post_types_args') is found 1 times:

  • /wp-cache.php line 3542
    }
    
    function wpsc_get_post_types() {
    
    	$preload_type_args = apply_filters( 'wpsc_preload_post_types_args', array(
    		'public'             => true,
    		'publicly_queryable' => true
    	) );
    
    	$post_types = (array) apply_filters( 'wpsc_preload_post_types', get_post_types( $preload_type_args, 'names', 'or' ));