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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |