Custom_Image_Header::remove_header_image() WordPress Method

The Custom_Image_Header::remove_header_image() method is used to remove a custom header image from a WordPress site. This method can be used in conjunction with the add_custom_image_header() method to programmatically add and remove custom header images.

Custom_Image_Header::remove_header_image() #

Remove a header image.


Source

File: wp-admin/includes/class-custom-image-header.php

	final public function remove_header_image() {
		$this->set_header_image( 'remove-header' );
	}


Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.