remove_custom_image_header()

This function has been deprecated. Use remove_theme_support() instead.

Remove image header support.

Description

See also

Return

(null|bool) Whether support was removed.

Source

File: wp-includes/deprecated.php

function remove_custom_image_header() {
	_deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( \'custom-header\' )' );
	return remove_theme_support( 'custom-header' );
}

Changelog

Version Description
3.4.0 Use remove_theme_support()
3.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/remove_custom_image_header