remove_custom_image_header

Remove image header support.

Description

(null|bool) remove_custom_image_header(); 

Returns (null|bool)

Whether support was removed.


Usage

  1. if ( !function_exists( 'remove_custom_image_header' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = remove_custom_image_header(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/deprecated.php  
  1. function remove_custom_image_header() { 
  2. _deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( \'custom-header\' )' ); 
  3. return remove_theme_support( 'custom-header' );