apply_filters( 'media_upload_default_tab', string $tab )
Filters the default tab in the legacy (pre-3.5.0) media popup.
Parameters
-
$tab
string -
The default media popup tab. Default
'type'
(From Computer).
Source
File: wp-admin/media-upload.php
.
View all references
$tab = apply_filters( 'media_upload_default_tab', 'type' );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |