wpseek.com
WordPress开发者和主题制作者的搜索引擎



media_upload_library › WordPress Function

Since2.5.0
已弃用n/a
media_upload_library ( 没有参数 )
返回:
  • (string|null)
定义在:
文档:

Retrieves the legacy media library form in an iframe.



源码

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