Custom_Image_Header::get_previous_crop()
Method: Gets the ID of a previous crop from the same base image.
Source: wp-admin/includes/class-custom-image-header.php:1589
Method: Gets the ID of a previous crop from the same base image.
Source: wp-admin/includes/class-custom-image-header.php:1589
Method: Given an attachment ID for a header image, unsets it as a user-uploaded header image for the active theme.
Source: wp-admin/includes/class-custom-image-header.php:1471
Method: Updates the last-used postmeta on a header image attachment after saving a new header image via the Customizer.
Source: wp-admin/includes/class-custom-image-header.php:1497
Method: Gets the details of default header images if defined.
Source: wp-admin/includes/class-custom-image-header.php:1523
Method: Gets the previously uploaded header images.
Source: wp-admin/includes/class-custom-image-header.php:1567
Method: Calculates width and height based on what the currently selected theme supports.
Source: wp-admin/includes/class-custom-image-header.php:1259
Method: Creates an attachment ‘object’.
Source: wp-admin/includes/class-custom-image-header.php:1311
Method: Inserts an attachment and its metadata.
Source: wp-admin/includes/class-custom-image-header.php:1340
Filter Hook: Filters the header image attachment metadata.
Source: wp-admin/includes/class-custom-image-header.php:1361
Method: Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details.
Source: wp-admin/includes/class-custom-image-header.php:1374
Method: Given an attachment ID for a header image, updates its “last used” timestamp to now.
Source: wp-admin/includes/class-custom-image-header.php:1443
Method: Unused since 3.5.0.
Source: wp-admin/includes/class-custom-image-header.php:1133
Method: Unused since 3.5.0.
Source: wp-admin/includes/class-custom-image-header.php:1145
Method: 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).
Source: wp-admin/includes/class-custom-image-header.php:1162
Method: Displays first step of custom header image page.
Source: wp-admin/includes/class-custom-image-header.php:505
Method: Removes a header image.
Source: wp-admin/includes/class-custom-image-header.php:1217
Action Hook: Fires just before the submit button in the custom header options form.
Source: wp-admin/includes/class-custom-image-header.php:802
Method: Resets a header image to the default image for the theme.
Source: wp-admin/includes/class-custom-image-header.php:1228
Method: Displays second step of custom header image page.
Source: wp-admin/includes/class-custom-image-header.php:819
Action Hook: Fires after the header image is set or an error is returned.
Source: wp-admin/includes/class-custom-image-header.php:885
Method: Uploads the file to be cropped in the second step.
Source: wp-admin/includes/class-custom-image-header.php:962
Method: Displays third step of custom header image page.
Source: wp-admin/includes/class-custom-image-header.php:1005
Method: Displays last step of custom header image page.
Source: wp-admin/includes/class-custom-image-header.php:1099
Method: Displays the page based on the current step.
Source: wp-admin/includes/class-custom-image-header.php:1109
Class: The custom header image class.
Source: wp-admin/includes/class-custom-image-header.php:15
Method: Displays JavaScript based on Step 1 and 3.
Source: wp-admin/includes/class-custom-image-header.php:368
Method: Constructor – Register administration header callback.
Source: wp-admin/includes/class-custom-image-header.php:56
Method: Displays JavaScript based on Step 2.
Source: wp-admin/includes/class-custom-image-header.php:429
Method: Sets up the hooks for the Custom Header admin page.
Source: wp-admin/includes/class-custom-image-header.php:73
Method: Adds contextual help.
Source: wp-admin/includes/class-custom-image-header.php:102