wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
media_upload_gallery › WordPress Function
Seit2.5.0
Veraltetn/v
› media_upload_gallery ( Keine Parameter )
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Retrieves the legacy media uploader form in an iframe.
Ähnliche Funktionen: media_upload_gallery_form, media_upload_header, media_upload_file, media_upload_library, media_upload_image
Quellcode
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;
}
}
wp_enqueue_script( 'admin-gallery' );
return wp_iframe( 'media_upload_gallery_form', $errors );
}