media_upload_gallery()
最后更新于:2021-11-27 14:59:34
media_upload_gallery()Retrieves the legacy media uploader form in an iframe.
响应
(string|null)
源文件
文件: gc-admin/includes/media.php
function media_upload_gallery() {
$errors = array();
if ( ! empty( $_POST ) ) {
$return = media_upload_form_handler();
if ( is_string( $return ) ) {
return $return;
}
if ( is_array( $return ) ) {
$errors = $return;
}
}
gc_enqueue_script( 'admin-gallery' );
return gc_iframe( 'media_upload_gallery_form', $errors );
}