Function: media_upload_type_form

media_upload_type_form( string $type, object $errors, integer $id )

Outputs the legacy media upload form for a given media type.

Parameters

Name Type(s) Default Value Description
$type string 'file'
$errors object null
$id integer null

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.