Lookbook Summer
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
function wprc_manipulate_existing_cache_header( $header_value, $header_key, $request_uri ) { if( 'Access-Control-Expose-Headers' === $header_key ) { $header_value = 'X-WP-Total'; } return $header_value; } add_filter( 'wp_rest_cache/cache_header', 'wprc_manipulate_existing_cache_header', 10, 3 );
Skip to content