ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-admin/custom-header.php

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

Used by 5 functions | Uses 7 functions

Custom_Image_Header::remove_header_image()

Method: Remove a header image.

Source: wp-admin/custom-header.php:1060

Used by 2 functions | Uses 1 function

Custom_Image_Header::reset_header_image()

Method: Reset a header image to the default image for the theme.

Source: wp-admin/custom-header.php:1071

Used by 1 function | Uses 6 functions

Custom_Image_Header::get_header_dimensions()

Method: Calculate width and height based on what the currently selected theme supports.

Source: wp-admin/custom-header.php:1101

Used by 2 functions | Uses 3 functions

Custom_Image_Header::create_attachment_object()

Method: Create an attachment ‘object’.

Source: wp-admin/custom-header.php:1154

Used by 2 functions | Uses 2 functions

Custom_Image_Header::insert_attachment()

Method: Insert an attachment and its metadata.

Source: wp-admin/custom-header.php:1183

Used by 2 functions | Uses 5 functions

wp_header_image_attachment_metadata

Filter Hook: Filters the header image attachment metadata.

Source: wp-admin/custom-header.php:1204

Used by 1 function | Uses 0 functions

Custom_Image_Header::ajax_header_crop()

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

Used by 0 functions | Uses 16 functions

Custom_Image_Header::ajax_header_add()

Method: Given an attachment ID for a header image, updates its “last used” timestamp to now.

Source: wp-admin/custom-header.php:1283

Used by 0 functions | Uses 7 functions

Custom_Image_Header::ajax_header_remove()

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

Used by 0 functions | Uses 7 functions
1 2 … 4 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy