wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



media_upload_library › WordPress Function

Od2.5.0
Przestarzałyn/a
media_upload_library ( Brak parametrów )
Powrót:
  • (string|null)
Zdefiniowane na:
Codex:

Retrieves the legacy media library form in an iframe.



Źródło

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 );
}