How to make “Upload files”selected by default in Insert Media?

I am frustrated having to click on the “Upload Files” constantly instead of the first choice being Upload Files in posts editor….How can i make “Upload files” selected by default instead of “Media library”?


Add this to your functions.php, or preferably a functionality plugin.

add_action( 'admin_footer-post-new.php', 'media_manager_default' );
add_action( 'admin_footer-post.php', 'media_manager_default' );

function media_manager_default() {
    <script type="text/javascript">

Leave a Comment