Filters the default tab in the legacy (pre-3.5.0) media popup.
$tabstringwp-admin/includes/media.php:90the_media_upload_tabs()wp-admin/media-upload.php:78file scope * Filters the default tab in the legacy (pre-3.5.0) media popup. * * @since 2.5.0 * * @param string $tab The default media popup tab. Default 'type' (From Computer). */ $tab = apply_filters( 'media_upload_default_tab', 'type' );} $body_id = 'media-upload'; // Let the action code decide how to handle the request.if ( 'type' === $tab || 'type_url' === $tab || ! array_key_exists( $tab, media_upload_tabs() ) ) {Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.