⺠Moderator Notice â¹
This question exists as it fills a specific criterion and/or has historical significance. The current answers do not work for current WordPress versions. If you got a working solution, please add it as a new answer. If you got the exact same question, you could offer a bounty to attract working solutions.
When adding media to the post from Media Library, an iframe that opens in a popup has these tabs:
- From Computer
- From URL
- Media Library
From Computer
is currently the default, but I almost never use it and switching to Media Library
takes up about 3-4 seconds every time, I wonder if its possible somehow to make it the default instead?
Thanks
There’s a filter called
media_upload_default_tab
that you can use to do this.You can set the to be whatever — assuming the tab exists. The tab keys themselves are found in the functon
media_upload_tabs
.So
type
(the original default),type_url
,gallery
,library
and any custom tabs are up for grabs. Here is the above in plugin form.One final note: the media work flow is changing significantly in WordPress 3.5 and this will no longer work. The good news, however, is that the new media popover is much more speedy and your problem is not likely to be an issue.