For a project I am working on, I need to disallow Authors from using the “Add Media” button. Here is a simple way to hide it in WordPress 3.5 and above. Add this to your Functions.php


  1. Kevin

    Hi Dave,

    Thanks for your method in trying to hide the Add Media button. However this doesn’t seem to work in the latest version of WordPress 3.8. Or maybe I’m doing something wrong. What I did is that I just copied your code in my Theme’s Functions.php file. But as I told you, the ‘Add Media’ button is still there. Am I missing something? Will appreciate if you can suggest a solution.

    Thanks and regards,


Leave a Reply

Your email address will not be published. Required fields are marked *