Code to Disable Media Uploader in WordPress Blog

Posted by


You can use this code to disable media uploader in your wordpress blog:


function removemediabuttons()
remove_action( ‘media_buttons’, ‘media_buttons’ );

Save this code in any php file and upload it in plugins directory as plugin. After that activate this plugin as normal..which will disabled the media uploader option from wordpress post writing section:


Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.