/ Published in: PHP

Remove menu items from the wordpress admin
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * to remove items from the wordpress admin menu uncomment them from the list * * */ function remove_menus () { global $menu; __('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), __('Tools'), __('Users'), __('Settings'), __('Comments'), __('Plugins'), __('Gallery') ); { { } } } add_action('admin_menu', 'remove_menus');
Comments
