Display UI for selecting one of several default headers.
Custom_Image_Header::js
Execute JavaScript depending on step.
Custom_Image_Header::js_1
Display JavaScript based on Step 1 and 3.
Custom_Image_Header::js_2
Display JavaScript based on Step 2.
Advertisement
Custom_Image_Header::step_1
Display first step of custom header image page.
Custom_Image_Header::step_2
Display second step of custom header image page.
Custom_Image_Header::step_2_manage_upload
Upload the file to be cropped in the second step.
Custom_Image_Header::step_3
Display third step of custom header image page.
Advertisement
Custom_Image_Header::finished
Display last step of custom header image page.
Custom_Image_Header::init
Set up the hooks for the Custom Header admin page.
Custom_Image_Header::admin_page
Display the page based on the current step.
Custom_Image_Header::__construct
Constructor – Register administration header callback.
Advertisement
Custom_Image_Header::get_previous_crop
Get the ID of a previous crop from the same base image.
Custom_Image_Header::get_uploaded_header_images
Gets the previously uploaded header images.
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.