Remove Unwanted Admin Menu Items

Remove Unwanted Admin Menu Items from wordpress dashboard. 

In the wordpress dashboard there are many items in the dashboard menu that is not needed almost all of the time. For those who wants to remove unwanted menu items from wordpress dashboard can do like below to get rid of unwanted menu items. Here is the way by which you can Remove Unwanted Admin Menu Items from wordpress dashboard.

In order to remove a menu item, just add it to the $remove_menu_items array in the following format: __(‘menu-item-name’).

Like this
$remove_menu_items = array(__('Comments'),__('Links'),__('Posts'));

In this way you can remove Unwanted Admin Menu Items from wordpress dashboard. 

Leave a comment