File: wp-admin/includes/class-custom-image-header.php
-
Gets the ID of a previous crop from the same base image.
-
Given an attachment ID for a header image, unsets it as a user-uploaded header image for the active theme.
Used by 0 functions | Uses 7 functions | Source: wp-admin/includes/class-custom-image-header.php:1484 -
Updates the last-used postmeta on a header image attachment after saving a new header image via the Customizer.
Used by 0 functions | Uses 2 functions | Source: wp-admin/includes/class-custom-image-header.php:1510 -
Gets the details of default header images if defined.
Used by 1 function | Uses 4 functions | Source: wp-admin/includes/class-custom-image-header.php:1536 -
Gets the previously uploaded header images.
Used by 2 functions | Uses 3 functions | Source: wp-admin/includes/class-custom-image-header.php:1580 -
Calculates width and height based on what the currently selected theme supports.
Used by 2 functions | Uses 3 functions | Source: wp-admin/includes/class-custom-image-header.php:1270 -
Creates an attachment ‘object’.
Used by 0 functions | Uses 4 functions | Source: wp-admin/includes/class-custom-image-header.php:1323 -
Inserts an attachment and its metadata.
Used by 2 functions | Uses 4 functions | Source: wp-admin/includes/class-custom-image-header.php:1353 -
Filters the header image attachment metadata.
Used by 1 function | Uses 0 functions | Source: wp-admin/includes/class-custom-image-header.php:1374 -
Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details.
Used by 0 functions | Uses 15 functions | Source: wp-admin/includes/class-custom-image-header.php:1387 -
Given an attachment ID for a header image, updates its “last used” timestamp to now.
Used by 0 functions | Uses 7 functions | Source: wp-admin/includes/class-custom-image-header.php:1456 -
Unused since 3.5.0.
Used by 0 functions | Uses 0 functions | Source: wp-admin/includes/class-custom-image-header.php:1144 -
Unused since 3.5.0.
Used by 0 functions | Uses 0 functions | Source: wp-admin/includes/class-custom-image-header.php:1156 -
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 5 functions | Uses 7 functions | Source: wp-admin/includes/class-custom-image-header.php:1173 -
Displays first step of custom header image page.
Used by 2 functions | Uses 29 functions | Source: wp-admin/includes/class-custom-image-header.php:507 -
Removes a header image.
Used by 2 functions | Uses 1 function | Source: wp-admin/includes/class-custom-image-header.php:1228 -
Fires just before the submit button in the custom header options form.
-
Resets a header image to the default image for the theme.
Used by 1 function | Uses 6 functions | Source: wp-admin/includes/class-custom-image-header.php:1239 -
Displays second step of custom header image page.
Used by 1 function | Uses 23 functions | Source: wp-admin/includes/class-custom-image-header.php:828 -
Filters the attachment file path after the custom header or background image is set.
Used by 5 functions | Uses 0 functions | Source: wp-admin/includes/class-custom-image-header.php:896 -
Uploads the file to be cropped in the second step.
-
Displays third step of custom header image page.
Used by 1 function | Uses 18 functions | Source: wp-admin/includes/class-custom-image-header.php:1016 -
Displays last step of custom header image page.
Used by 2 functions | Uses 1 function | Source: wp-admin/includes/class-custom-image-header.php:1110 -
Displays the page based on the current step.
Used by 0 functions | Uses 7 functions | Source: wp-admin/includes/class-custom-image-header.php:1120 -
classCustom_Image_Header
The custom header image class.
-
Displays JavaScript based on Step 1 and 3.
-
Constructor – Registers administration header callback.
-
Displays JavaScript based on Step 2.
-
Sets up the hooks for the Custom Header admin page.
-
Adds contextual help.
Used by 0 functions | Uses 5 functions | Source: wp-admin/includes/class-custom-image-header.php:104