WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_exposed_cors_headers

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/class-wp-rest-server.php apply_filters 333 /**
* Filters the list of response headers that are exposed to REST API CORS requests.
*
* @since 5.5.0
*
* @param string[] $expose_headers The list of response headers to expose.
*/

Hook Parameters

Parameter Type Name Description
string[] $expose_headers The list of response headers to expose.