Custom_Image_Header::create_attachment_object()
Method: Create an attachment ‘object’.
Source: wp-admin/includes/class-custom-image-header.php:1311
Method: Create an attachment ‘object’.
Source: wp-admin/includes/class-custom-image-header.php:1311
Method: Insert 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: 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: Display last step of custom header image page.
Source: wp-admin/includes/class-custom-image-header.php:1100
Method: Gets the previously uploaded header images.
Source: wp-admin/includes/class-custom-image-header.php:1567