-
Home
-
Loginizer
- Tips
function plt_hide_loginizer_menus() {
//Hide "Loginizer Security".
remove_menu_page('loginizer');
//Hide "Loginizer Security → Dashboard".
remove_submenu_page('loginizer', 'loginizer');
//Hide "Loginizer Security → Brute Force".
remove_submenu_page('loginizer', 'loginizer_brute_force');
//Hide "Loginizer Security → PasswordLess".
remove_submenu_page('loginizer', 'loginizer_passwordless');
//Hide "Loginizer Security → Two Factor Auth".
remove_submenu_page('loginizer', 'loginizer_2fa');
//Hide "Loginizer Security → reCAPTCHA".
remove_submenu_page('loginizer', 'loginizer_recaptcha');
//Hide "Loginizer Security → Single Sign On".
remove_submenu_page('loginizer', 'loginizer_sso');
//Hide "Loginizer Security → Social Login".
remove_submenu_page('loginizer', 'loginizer_social_login');
//Hide "Loginizer Security → Security Settings".
remove_submenu_page('loginizer', 'loginizer_security');
//Hide "Loginizer Security → File Checksums".
remove_submenu_page('loginizer', 'loginizer_checksums');
}
add_action('admin_menu', 'plt_hide_loginizer_menus', 11);
Where do I put this code?