Used By
Used By | Description |
---|---|
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::serve_request() | Handles serving an API request. |
Removes an HTTP header from the current response.
(string) (Required) Header key.
File: wp-includes/rest-api/class-wp-rest-server.php
public function remove_header( $key ) { header_remove( $key ); }
Version | Description |
---|---|
4.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_server/remove_header