W3cubDocs

/WordPress

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' );
	}

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/custom_image_header/remove_header_image