wpseek.com
A WordPress-centric search engine for devs and theme authors



media_upload_default_tab › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'media_upload_default_tab', 'type' )
Parameters:
  • (string) $tab The default media popup tab. Default 'type' (From Computer).
    Required: Yes
Defined at:
Codex:

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





Source

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