/ Published in: PHP
Clean up your WordPress backend by removing unwanted admin menus that create clutter.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Remove Admin Menus function remove_menu_items() { global $menu; __('Links'), __('Comments'), __('Media'), __('Plugins'), __('Tools'), __('Users') ); } } } add_action('admin_menu', 'remove_menu_items');