Created
November 5, 2015 10:25
-
-
Save alokstha1/4c9c4dfa3bf326517f37 to your computer and use it in GitHub Desktop.
Get only the Upload Files Tab of Wordpress Media uploader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
jQuery(document).ready(function(){ | |
wp.media.controller.Library.prototype.defaults.contentUserSetting=false; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment