WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to change the default media manager tab? I have managed to remove everything that I didn't want to show in media manager, using the instructions from the first post here Add a menu item to Wordpress 3.5 Media Manager. I also have created a custom tab.

The problem is that when I click the Add Media button in posts, it sends me to the Media Library by default, which I have disabled.


Is it possible to set the default screen from Media Library (which I have disabled) to the Insert from URL? So every time i click the Add Media I will get this screen:

http://i.imgur.com/fWNb47h.png (the one from Insert from URL).

My coding skills are nearly zero... and the closest solution to my problem I believe it's this Changing the media library default tab, but it doesn't work...

share|improve this question
Please explain why the provided solution does not work. – kaiser May 18 '14 at 19:28

Try this:

function rearrange_media_tabs($_default_tabs) {
    $_default_tabs = array(
        'custom' => __('Your Tab Name'),
        'type_url' => __('From URL')

   return $_default_tabs;

add_filter( 'media_upload_tabs', 'rearrange_media_tabs' );

From the Codex: https://developer.wordpress.org/reference/functions/media_upload_tabs/

share|improve this answer
Could you add a little explanation on to why this answers the particular question and how it works? – Howdy_McGee Feb 6 '15 at 20:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.