Core Function
View Source on Trac ↗ unregister_default_headers()
unregister_default_headers( mixed $header ) Unregisters default headers.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | array) $header The header string id (key of array) to remove, or an array thereof. Required |
Return Value
((bool)
(bool | void) A single header returns true on success, false on failure.
There is currently no return value for multiple headers.
Function Information
Since Version
3.0.0
Source File
wp-includes/theme.php
Advertisement