Posted By

fjarrett on 09/29/10


Tagged

wordpress


Versions (?)

Remove Editor From Admin Appearance Menu


 / Published in: PHP
 

Keep your WordPress theme code free from harm by removing the Editor link in the Admin Appearance menu.

  1. // Remove Editor From Admin Appearance Menu
  2. function remove_the_editor() {
  3. remove_action('admin_menu', '_add_themes_utility_last', 101);
  4. }
  5. add_action('_admin_menu', 'remove_the_editor', 1);

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: fjarrett on September 29, 2010

Keep your WordPress theme code free from harm by removing the Editor link in the Admin Appearance menu.

You need to login to post a comment.