Custom_Image_Header::create_attachment_object()
Method: Create an attachment ‘object’.
Source: wp-admin/includes/class-custom-image-header.php:1304
Method: Create an attachment ‘object’.
Source: wp-admin/includes/class-custom-image-header.php:1304
Method: Insert an attachment and its metadata.
Source: wp-admin/includes/class-custom-image-header.php:1333
Filter Hook: Filters the header image attachment metadata.
Source: wp-admin/includes/class-custom-image-header.php:1354
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:1367
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:1436
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:1464
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:1490
Method: Gets the details of default header images if defined.
Source: wp-admin/includes/class-custom-image-header.php:1516
Method: Display last step of custom header image page.
Source: wp-admin/includes/class-custom-image-header.php:1093
Method: Gets the previously uploaded header images.
Source: wp-admin/includes/class-custom-image-header.php:1560