WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/unregister default headers

Description

Unregister default headers.

This function must be called after register_default_headers() has already added the header you want to remove.

Usage

<?php unregister_default_headers$headers ); ?>

Parameters

$header
(string|array) (required) The header string id (key of array) to remove, or an array thereof.
Default: None

Return Values

(boolean) 
Whether the headers were removed.

Change Log

Since: 3.0.0

Source File

unregister_default_headers() is located in wp-includes/theme.php.

Related

Custom Headers: add_custom_image_header(), remove_custom_image_header(), register_default_headers(), unregister_default_headers()

See also index of Function Reference and index of Template Tags.