W3cubDocs

/WordPress

apply_filters( 'media_upload_default_tab', string $type )

Filters the default tab in the legacy (pre-3.5.0) media popup.

Parameters

$type

(string) The default media popup tab. Default 'type' (From Computer).

Source

File: wp-admin/media-upload.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_upload_default_tab