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
Action Hook: Fires before each of the tabs are rendered on the Install Themes page.
Source: wp-admin/theme-install.php:107
Action Hook: Fires before the Edit Term form for all taxonomies.
Source: wp-admin/edit-tag-form.php:73
Method: Insert an attachment and its metadata.
Source: wp-admin/includes/class-custom-image-header.php:1340
Filter Hook: Filters the tabs shown on the Add Themes screen.
Source: wp-admin/theme-install.php:168
Action Hook: Fires inside the Edit Term form tag.
Source: wp-admin/edit-tag-form.php:113
Filter Hook: Filters the header image attachment metadata.
Source: wp-admin/includes/class-custom-image-header.php:1361
Action Hook: Fires at the top of each of the tabs on the Install Themes page.
Source: wp-admin/theme-install.php:274
Action Hook: Fires at the beginning of the Edit Term form.
Source: wp-admin/edit-tag-form.php:140
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