Removes an HTTP header from the current response.
Parameters
$key
stringrequired- Header key.
Source
public function remove_header( $key ) {
header_remove( $key );
}
Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |
Removes an HTTP header from the current response.
$key
stringrequiredpublic function remove_header( $key ) {
header_remove( $key );
}
Version | Description |
---|---|
4.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.