wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:
WP_REST_Attachments_Controller::prepare_item_for_response()
|
Prepares a single attachment output for response.
|
wp-includes/media.php:
wp_image_add_srcset_and_sizes()
|
Adds ‘srcset’ and ‘sizes’ attributes to an existing ‘img’ element.
|
wp-includes/media.php:
wp_calculate_image_srcset()
|
A helper function to calculate the image sources to include in a ‘srcset’ attribute.
|
wp-admin/includes/class-wp-media-list-table.php:
WP_Media_List_Table::column_title()
|
Handles the title column output.
|
wp-admin/includes/image.php:
wp_generate_attachment_metadata()
|
Generate post thumbnail attachment meta data.
|
wp-admin/includes/media.php:
attachment_submitbox_metadata()
|
Displays non-editable attachment metadata in the publish meta box.
|
wp-admin/includes/media.php:
get_media_item()
|
Retrieve HTML form for modifying the image attachment.
|
wp-admin/includes/media.php:
image_attachment_fields_to_save()
|
Filters input from media_upload_form_handler() and assigns a default post_title from the file name if none supplied.
|
wp-admin/includes/media.php:
media_handle_upload()
|
Save a file submitted from a POST request and create an attachment post for it.
|
wp-admin/includes/ajax-actions.php:
wp_ajax_send_link_to_editor()
|
Ajax handler for sending a link to the editor.
|
wp-includes/class-wp-query.php:
WP_Query::get_posts()
|
Retrieves an array of posts based on query variables.
|
wp-includes/class-wp-query.php:
WP_Query::parse_tax_query()
|
Parses various taxonomy related query vars.
|
wp-includes/class-wp-image-editor-imagick.php:
WP_Image_Editor_Imagick::_save()
|
|
wp-includes/class-wp-image-editor.php:
WP_Image_Editor::get_output_format()
|
Returns preferred mime-type and extension based on provided file’s extension and mime, or current file’s extension and mime.
|
wp-includes/class-wp-image-editor.php:
WP_Image_Editor::generate_filename()
|
Builds an output filename based on current file, and adding proper suffix
|
wp-includes/class-wp-image-editor-gd.php:
WP_Image_Editor_GD::_save()
|
|
wp-includes/media.php:
wp_prepare_attachment_for_js()
|
Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model.
|
wp-includes/media.php:
wp_get_attachment_image_src()
|
Retrieve an image to represent an attachment.
|
wp-includes/media.php:
image_downsize()
|
Scale an image to fit a particular size (such as ‘thumb’ or ‘medium’).
|