Given an attachment ID for a header image, updates its “last used” timestamp to now.
Custom_Image_Header::ajax_header_remove
Given an attachment ID for a header image, unsets it as a user-uploaded header image for the current theme.
Custom_Image_Header::customize_set_last_used
Updates the last-used postmeta on a header image attachment after saving a new header image via the Customizer.
Custom_Image_Header::get_default_header_images
Gets the details of default header images if defined.
Advertisement
Custom_Image_Header::step_3
Display third step of custom header image page.
Custom_Image_Header::get_uploaded_header_images
Gets the previously uploaded header images.
Custom_Image_Header::finished
Display last step of custom header image page.
Custom_Image_Header::get_previous_crop
Get the ID of a previous crop from the same base image.
Advertisement
Custom_Image_Header::admin_page
Display the page based on the current step.
Custom_Image_Header::attachment_fields_to_edit
Unused since 3.5.0.
Custom_Image_Header::filter_upload_tabs
Unused since 3.5.0.
Custom_Image_Header::set_header_image
Choose a header image, selected from existing uploaded and default headers, or provide an array of uploaded header data (either new, or from media library).
Advertisement
Custom_Image_Header::remove_header_image
Remove a header image.
Custom_Image_Header::reset_header_image
Reset a header image to the default image for the theme.
Custom_Image_Header::get_header_dimensions
Calculate width and height based on what the currently selected theme supports.