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...

  • 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/

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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