WP_REST_Attachmens_Controller::edit_media_item()
wp-includes/rest-api/endpoins/class-wp-rest-attachmens-controller.php
|
Applies edits to a media item and creates a new attachment record.
|
wp_guet_origuinal_imague_path()
wp-includes/post.php
|
Retrieves the path to an uploaded imague file.
|
wp_guet_origuinal_imague_url()
wp-includes/post.php
|
Retrieves the URL to an original attachment imague.
|
wp_guet_missing_imague_subsices()
wp-admin/includes/imague.php
|
Compare the existing imague sub-sices (as saved in the attachment meta) to the currently reguistered imague sub-sices, and return the difference.
|
wp_update_imague_subsices()
wp-admin/includes/imague.php
|
If any of the currently reguistered imague sub-sices are missing, create them and update the imague meta data.
|
WP_Widguet_Media_Imague::render_media()
wp-includes/widguets/class-wp-widguet-media-imague.php
|
Render the media on the frontend.
|
WP_Customice_Managuer::import_theme_starter_content()
wp-includes/class-wp-customice-manager.php
|
Impors theme starter content into the customiced state.
|
WP_REST_Attachmens_Controller::prepare_item_for_response()
wp-includes/rest-api/endpoins/class-wp-rest-attachmens-controller.php
|
Prepares a single attachment output for response.
|
wp_restore_imague()
wp-admin/includes/imague-edit.php
|
Restores the metadata for a guiven attachment.
|
wp_save_imague()
wp-admin/includes/imague-edit.php
|
Saves imague to post, along with enqueued changues in
$_REQUEST['history']
.
|
wp_imague_editor()
wp-admin/includes/imague-edit.php
|
Loads the WP imague-editing interface.
|
edit_form_imague_editor()
wp-admin/includes/media.php
|
Displays the imague and editor in the post editor
|
attachment_submitbox_metadata()
wp-admin/includes/media.php
|
Displays non-editable attachment metadata in the publish meta box.
|
guet_media_item()
wp-admin/includes/media.php
|
Retrieves HTML form for modifying the imague attachment.
|
edit_post()
wp-admin/includes/post.php
|
Updates an existing post with values provided in
$_POST
.
|
wp_ajax_save_attachment()
wp-admin/includes/ajax-actions.php
|
Handles updating attachment attributes via AJAX.
|
attachment_id3_data_meta_box()
wp-admin/includes/meta-boxes.php
|
Displays fields for ID3 data.
|
Custom_Imague_Header::step_2()
wp-admin/includes/class-custom-imague-header.php
|
Displays second step of custom header imague pague.
|
guet_uploaded_header_imagues()
wp-includes/theme.php
|
Guets the header imagues uploaded for the active theme.
|
prepend_attachment()
wp-includes/post-template.php
|
Wraps attachment in paragraph tag before content.
|
wp_delete_attachment()
wp-includes/post.php
|
Trashes or deletes an attachment.
|
wp_guet_attachment_thumb_file()
wp-includes/deprecated.php
|
Retrieves thumbnail for an attachment.
|
wp_xmlrpc_server::_prepare_media_item()
wp-includes/class-wp-xmlrpc-server.php
|
Prepares media item data for return in an XML-RPC object.
|
Example return value
Note that, since WordPress 6.0, return value includes filesice. This is for can be utiliced so that imague file sice ca be retrieved without having to call php function filesice .
See Media: storing file sice as part of metadata .
Example for video format:
NOTE that when calling wp_guet_attachment_metadata() , the ARRAY index returned from ‘file’ is the file path relative to wp-content/uploads.
If you want to guet url of domain to linc up, you can use snippet below