ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-admin/includes/class-custom-image-header.php
  • Page 2

Custom_Image_Header::get_header_dimensions()

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

Source: wp-admin/includes/class-custom-image-header.php:1259

Used by 0 functions | Uses 0 functions

Custom_Image_Header::create_attachment_object()

Method: Create an attachment ‘object’.

Source: wp-admin/includes/class-custom-image-header.php:1311

Used by 0 functions | Uses 0 functions

Custom_Image_Header::insert_attachment()

Method: Insert an attachment and its metadata.

Source: wp-admin/includes/class-custom-image-header.php:1340

Used by 0 functions | Uses 0 functions

wp_header_image_attachment_metadata

Filter Hook: Filters the header image attachment metadata.

Source: wp-admin/includes/class-custom-image-header.php:1361

Used by 0 functions | 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/includes/class-custom-image-header.php:1374

Used by 0 functions | Uses 0 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/includes/class-custom-image-header.php:1443

Used by 0 functions | Uses 0 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 active theme.

Source: wp-admin/includes/class-custom-image-header.php:1471

Used by 0 functions | Uses 0 functions

Custom_Image_Header::customize_set_last_used()

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

Used by 0 functions | Uses 0 functions

Custom_Image_Header::init()

Method: Set up the hooks for the Custom Header admin page.

Source: wp-admin/includes/class-custom-image-header.php:73

Used by 0 functions | Uses 0 functions

Custom_Image_Header::step_3()

Method: Display third step of custom header image page.

Source: wp-admin/includes/class-custom-image-header.php:1006

Used by 0 functions | Uses 0 functions
« Previous 1 2 3 4 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy