Changing the media library default tab
There’s a filter called media_upload_default_tab that you can use to do this. <?php add_filter(‘media_upload_default_tab’, ‘wpse74422_switch_tab’); function wpse74422_switch_tab($tab) { return ‘library’; } You can set the to be whatever — assuming the tab exists. The tab keys themselves are found in the functon media_upload_tabs. <?php /** * Defines the default media upload tabs * * @since … Read more