Remove Editor From Admin Appearance Menu


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

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


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

You need to login to post a comment.