Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: wp_edited_image_metadata | Filters the meta data for the new image created by editing an existing image. |
wp-includes/media.php: wp_image_file_matches_image_meta() | Determines if the image meta data is for the image source file. |
wp-includes/post.php: wp_get_original_image_path() | Retrieves the path to an uploaded image file. |
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/rest-api.php: rest_url() | Retrieves the URL to a REST endpoint. |
wp-admin/includes/image.php: _load_image_to_edit_path() | Retrieve the path or url of an attachment’s attached file. |
wp-admin/includes/image.php: wp_generate_attachment_metadata() | Generate attachment meta data and create image sub-sizes for images. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/formatting.php: wp_basename() | i18n friendly version of basename() |
wp-includes/formatting.php: wp_slash() | Add slashes to a string or array of strings, in a recursive manner. |
wp-includes/functions.php: wp_upload_dir() | Returns an array containing the current upload directory’s path and URL. |
wp-includes/functions.php: wp_unique_filename() | Get a filename that is sanitized and unique for the given directory. |
wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. |
wp-includes/media.php: wp_get_image_editor() | Returns a WP_Image_Editor instance and loads file into it. |
wp-includes/post.php: wp_get_attachment_metadata() | Retrieves attachment metadata for attachment ID. |
wp-includes/post.php: wp_insert_attachment() | Insert an attachment. |
wp-includes/post.php: wp_update_attachment_metadata() | Updates metadata for an attachment. |
wp-includes/post.php: get_post_meta() | Retrieves a post meta field for the given post ID. |
wp-includes/post.php: update_post_meta() | Updates a post meta field based on the given post ID. |
wp-includes/post.php: get_post_mime_type() | Retrieve the mime type of an attachment based on the ID. |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |
wp-includes/post.php: _wp_relative_upload_path() | Return relative path to an uploaded file. |
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |
wp-includes/class-wp-error.php: WP_Error::__construct() | Initialize the error. |