/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function remove_menus () { global $menu; else {$restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), __('Tools'), __('Settings'), __('Comments'), __('Plugins'));} } } add_action('admin_menu', 'remove_menus');