Uses
Uses | Description |
---|---|
wp-admin/includes/media.php: media_upload_form_handler() | Handles form submissions for the legacy media uploader. |
wp-admin/includes/media.php: wp_iframe() | Outputs the iframe to display the media upload page. |
Retrieves the legacy media library form in an iframe.
(string|null)
File: wp-admin/includes/media.php
function media_upload_library() { $errors = array(); if ( ! empty( $_POST ) ) { $return = media_upload_form_handler(); if ( is_string( $return ) ) { return $return; } if ( is_array( $return ) ) { $errors = $return; } } return wp_iframe( 'media_upload_library_form', $errors ); }
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/media_upload_library