Filters the list of response headers that are exposed to REST API CORS requests.
Parameters
$expose_headers
string[]- The list of response headers to expose.
$request
WP_REST_Request- The request in context.
Source
$expose_headers = apply_filters( 'rest_exposed_cors_headers', $expose_headers, $request );
User Contributed Notes
You must log in before being able to contribute a note or feedback.