get_post_states() Retrieves an array of post states from a post.
_media_states() Outputs the attachment media states as HTML.
get_media_states() Retrieves an array of media states from an attachment.
compression_test() Tests support for compressing JavaScript from PHP.
submit_button() Echoes a submit button, with provided text and appropriate class(es).
get_submit_button() Returns a submit button, with provided text and appropriate class.
_wp_admin_html_begin() Prints out the beginning of the admin HTML header.
convert_to_screen() Converts a screen string to a screen object.
_local_storage_notice() Outputs the HTML for restoring the post data from DOM storage
wp_star_rating() Outputs a HTML element with a star rating for a given rating.
_wp_posts_page_notice() Outputs a notice when editing the page for posts (internal use only).
_wp_block_editor_posts_page_notice() Outputs a notice when editing the page for posts in the block editor (internal use only).
media_upload_tabs() Defines the default media upload tabs.
update_gallery_tab() Adds the gallery tab back to the tabs array if post has image attachments.
the_media_upload_tabs() Outputs the legacy media upload tabs UI.
get_image_send_to_editor() Retrieves the image HTML to send to the editor.
image_add_caption() Adds image shortcode with caption to editor.
_cleanup_image_add_caption() Private preg_replace callback used in image_add_caption().
media_send_to_editor() Adds image HTML to editor.
media_handle_upload() Saves a file submitted from a POST request and create an attachment post for it.
media_handle_sideload() Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload().
wp_iframe() Outputs the iframe to display the media upload page.
media_buttons() Adds the media button to the editor.
get_upload_iframe_src() Retrieves the upload iframe source URL.
media_upload_form_handler() Handles form submissions for the legacy media uploader.
wp_media_upload_handler() Handles the process of uploading media.
media_sideload_image() Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post.
media_upload_gallery() Retrieves the legacy media uploader form in an iframe.
media_upload_library() Retrieves the legacy media library form in an iframe.
image_align_input_fields() Retrieves HTML for the image alignment radio buttons with the specified one checked.
image_size_input_fields() Retrieves HTML for the size radio buttons with the specified one checked.
image_link_input_fields() Retrieves HTML for the Link URL buttons with the default link type as specified.
wp_caption_input_textarea() Outputs a textarea element for inputting an attachment caption.
image_attachment_fields_to_edit() Retrieves the image attachment fields to edit form fields.
media_single_attachment_fields_to_edit() Retrieves the single non-image attachment fields to edit form fields.
media_post_single_attachment_fields_to_edit() Retrieves the post non-image attachment fields to edit form fields.
image_media_send_to_editor() Retrieves the media element HTML to send to the editor.
get_attachment_fields_to_edit() Retrieves the attachment fields to edit form fields.
get_media_items() Retrieves HTML for media items of post gallery.
get_media_item() Retrieves HTML form for modifying the image attachment.
get_compat_media_markup() media_upload_header() Outputs the legacy media upload header.
media_upload_form() Outputs the legacy media upload form.
media_upload_type_form() Outputs the legacy media upload form for a given media type.
media_upload_type_url_form() Outputs the legacy media upload form for external media.
media_upload_gallery_form() Adds gallery form to upload iframe.
media_upload_library_form() Outputs the legacy media upload form for the media library.
wp_media_insert_url_form() Creates the form for external url.
media_upload_flash_bypass() Displays the multi-file uploader message.
media_upload_html_bypass() Displays the browser's built-in uploader message.