Removes a header image.
Source
final public function remove_header_image() {
$this->set_header_image( 'remove-header' );
}
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
CARVIEW |
Removes a header image.
final public function remove_header_image() {
$this->set_header_image( 'remove-header' );
}
Uses | Description |
---|---|
Custom_Image_Header::set_header_image()wp-admin/includes/class-custom-image-header.php | Chooses a header image, selected from existing uploaded and default headers, or provides an array of uploaded header data (either new, or from media library). |
Used by | Description |
---|---|
Custom_Image_Header::reset_header_image()wp-admin/includes/class-custom-image-header.php | Resets a header image to the default image for the theme. |
Custom_Image_Header::take_action()wp-admin/includes/class-custom-image-header.php | Executes custom header modification. |
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.