remove_custom_image_header() WP 3.1.0
Deprecated from version 3.4.0. It is no longer supported and can be removed in future releases. Use remove_theme_support() instead.╳
Remove image header support.
No Hooks.
Return
null|true|false
. Whether support was removed.
Usage
remove_custom_image_header();
Notes
- See: remove_theme_support()
Changelog
Since 3.1.0 | Introduced. | |
Deprecated Since 3.4.0 | Use remove_theme_support() |
Code of remove_custom_image_header() remove custom image header WP 5.7
function remove_custom_image_header() {
_deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( \'custom-header\' )' );
return remove_theme_support( 'custom-header' );
}