Custom_Image_Header::set_header_image()
Method: Choose a header image, selected from existing uploaded and default headers, or provide an array of uploaded header data (either new, or from media library).
Source: wp-admin/custom-header.php:1011
Method: Choose a header image, selected from existing uploaded and default headers, or provide an array of uploaded header data (either new, or from media library).
Source: wp-admin/custom-header.php:1011
Method: Remove a header image.
Source: wp-admin/custom-header.php:1060
Method: Reset a header image to the default image for the theme.
Source: wp-admin/custom-header.php:1071
Method: Calculate width and height based on what the currently selected theme supports.
Source: wp-admin/custom-header.php:1101
Method: Create an attachment ‘object’.
Source: wp-admin/custom-header.php:1154
Method: Insert an attachment and its metadata.
Source: wp-admin/custom-header.php:1183
Filter Hook: Filters the header image attachment metadata.
Source: wp-admin/custom-header.php:1204
Method: Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details.
Source: wp-admin/custom-header.php:1217
Method: Given an attachment ID for a header image, updates its “last used” timestamp to now.
Source: wp-admin/custom-header.php:1283
Method: Given an attachment ID for a header image, unsets it as a user-uploaded header image for the current theme.
Source: wp-admin/custom-header.php:1311