apply_filters( ‘media_upload_default_tab’, string $tab )

In this article

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

Parameters

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

Source

$tab = apply_filters( 'media_upload_default_tab', 'type' );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.