David Kryzaniak, LLC logo David Kryzaniak, LLC

  • About
  • Blog
  • Résumé
  • Contact

Removing the “Add Media” Button in WP 3.5

Posted on July 18, 2013 by David Kryzaniak

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

Posted in WordPress | Tagged add media, functions.php, hide, remove | 2 Replies

Recent Posts

  • Adding an API Key to your AWS SAM Deploy
  • Serverless HTML to PDF API with AWS Lambda
  • cPanel/WHM Cron: Delete Backups Older Than 30 Days
  • Docker on Amazon Lightsail (Quick Install)
  • Get Noticed! Theme: Changing the Share Bar Icons

Categories

  • AWS (5)
  • Events (1)
  • Hardware Hacks (4)
  • Linux (2)
  • Psychology (1)
  • Random (3)
  • Web (36)
    • API (2)
    • Code Snippets (2)
    • Docker (1)
    • Hacks (4)
    • IIS (1)
    • MODx (1)
    • PHP (5)
    • Responsive (2)
    • Scripts (1)
    • WordPress (15)

Recent Comments

  • David Kryzaniak on Docker on Amazon Lightsail (Quick Install)
  • Leigh on Docker on Amazon Lightsail (Quick Install)
  • Leigh on Docker on Amazon Lightsail (Quick Install)
  • bob on Docker on Amazon Lightsail (Quick Install)
  • Ivan on Force Non-WWW URL in WordPress