Filters the list of response headers that are exposed to REST API CORS requests.
$expose_headersstring[]
$requestWP_REST_Request
$expose_headers = apply_filters( 'rest_exposed_cors_headers', $expose_headers, $request );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_exposed_cors_headers