-
Home
-
Password Policy Manager | Password Manager
- Tips
function plt_hide_password_policy_manager_menus() {
//Hide "Password Policy Manager".
remove_menu_page('moppm');
//Hide "Password Policy Manager → Password Policy Manager".
remove_submenu_page('moppm', 'moppm');
//Hide "Password Policy Manager → Addons".
remove_submenu_page('moppm', 'moppm_addons');
//Hide "Password Policy Manager → Reports".
remove_submenu_page('moppm', 'moppm_reports');
//Hide "Password Policy Manager → Upgrade".
remove_submenu_page('moppm', 'moppm_upgrade');
//Hide "Password Policy Manager → Account".
remove_submenu_page('moppm', 'moppm_account');
//Hide "Password Policy Manager → Integrations".
remove_submenu_page('moppm', 'moppm_registration_form');
//Hide "Password Policy Manager → Other Products".
remove_submenu_page('moppm', 'moppm_advertise');
}
add_action('admin_menu', 'plt_hide_password_policy_manager_menus', 11);
Where do I put this code?