Posted By

shufflepath on 03/07/12


Tagged

php wordpress


Versions (?)

Remove the Editor submenu item from Appearance menu


 / Published in: PHP
 

  1. function remove_editor_menu() {
  2. remove_action('admin_menu', '_add_themes_utility_last', 101);
  3. }
  4.  
  5. add_action('_admin_menu', 'remove_editor_menu', 1);

Report this snippet  

You need to login to post a comment.