WP_REST_Server::remove_header( string $key )
Removes an HTTP header from the current response.
Description Description
Parameters Parameters
- $key
-
(string) (Required) Header key.
Source Source
File: wp-includes/rest-api/class-wp-rest-server.php
public function remove_header( $key ) { header_remove( $key ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |