wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
media_upload_gallery › WordPress Function
Od2.5.0
Przestarzałyn/a
› media_upload_gallery ( Brak parametrów )
Powrót: |
|
Zdefiniowane na: |
|
Codex: |
Retrieves the legacy media uploader form in an iframe.
Powiązane Funkcje: media_upload_gallery_form, media_upload_header, media_upload_file, media_upload_library, wp_media_upload_handler
Źródło
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 ); }