Functions
-
functionmaybe_serialize()
Serializes data, if needed.
-
functionmaybe_unserialize()
Unserializes data only if it was serialized.
-
functionmbstring_binary_safe_encoding()
Sets the mbstring internal encoding to a binary safe encoding when func_overload is enabled.
-
functionmedia_buttons()
Adds the media button to the editor.
-
functionmedia_handle_sideload()
Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload().
-
functionmedia_handle_upload()
Saves a file submitted from a POST request and create an attachment post for it.
-
Retrieves the post non-image attachment fields to edit form fields.
-
functionmedia_send_to_editor()
Adds image HTML to editor.
-
functionmedia_sideload_image()
Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post.
-
Retrieves the single non-image attachment fields to edit form fields.
-
functionmedia_upload_audio()
Handles uploading an audio file.
-
functionmedia_upload_file()
Handles uploading a generic file.
-
functionmedia_upload_flash_bypass()
Displays the multi-file uploader message.
-
functionmedia_upload_form()
Outputs the legacy media upload form.
-
functionmedia_upload_form_handler()
Handles form submissions for the legacy media uploader.
-
functionmedia_upload_gallery()
Retrieves the legacy media uploader form in an iframe.
-
functionmedia_upload_gallery_form()
Adds gallery form to upload iframe.
-
functionmedia_upload_header()
Outputs the legacy media upload header.
-
functionmedia_upload_html_bypass()
Displays the browser’s built-in uploader message.
-
functionmedia_upload_image()
Handles uploading an image.
-
functionmedia_upload_library()
Retrieves the legacy media library form in an iframe.
-
functionmedia_upload_library_form()
Outputs the legacy media upload form for the media library.
-
functionmedia_upload_max_image_resize()
Displays the checkbox to scale images.
-
functionmedia_upload_tabs()
Defines the default media upload tabs.
-
functionmedia_upload_text_after()
Used to display a “After a file has been uploaded.
-
functionmedia_upload_type_form()
Outputs the legacy media upload form for a given media type.
-
functionmedia_upload_type_url_form()
Outputs the legacy media upload form for external media.
-
functionmedia_upload_video()
Handles uploading a video file.
-
functionmenu_page_url()
Gets the URL to access a particular menu page based on the slug it was registered with.