wpsc_accept_headers
Usage
add_filter( 'wpsc_accept_headers', 'wp_kama_wpsc_accept_headers_filter' ); /** * Function for `wpsc_accept_headers` filter-hook. * * @param $array * * @return */ function wp_kama_wpsc_accept_headers_filter( $array ){ // filter... return $array; }
- $array
- -
Where the hook is called
wpsc_accept_headers
wp-super-cache/wp-cache-phase2.php 510
$accept_headers = apply_filters( 'wpsc_accept_headers', array( 'application/json', 'application/activity+json', 'application/ld+json' ) );