Remove the Editor submenu item from Appearance menu


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.