-
Home
-
WPtouch – Make your WordPress Website Mobile-Friendly
- Tips
function plt_hide_wptouch_menus() {
//Hide the "WPtouch" menu.
remove_menu_page('wptouch-admin-general-settings');
//Hide the "WPtouch → Settings" menu.
remove_submenu_page('wptouch-admin-general-settings', 'wptouch-admin-general-settings');
//Hide the "WPtouch → Upgrade to Pro" menu.
remove_submenu_page('wptouch-admin-general-settings', 'wptouch-admin-go-pro');
}
add_action('admin_menu', 'plt_hide_wptouch_menus', 11);
Where do I put this code?