-
Home
-
Email OTP Authenticator – for Login, Register & Popular 2FA, RWL, RWA Services
- Tips
function plt_hide_email_otp_authenticator_menus() {
//Hide "Email OTP Router".
remove_menu_page('email-otp-authenticator');
//Hide "Email OTP Router → Settings".
remove_submenu_page('email-otp-authenticator', 'email-otp-authenticator');
//Hide "Email OTP Router → Integration".
remove_submenu_page('email-otp-authenticator', 'integrate-email-otp-authenticator');
//Hide "Email OTP Router → Activity Log".
remove_submenu_page('email-otp-authenticator', 'log-email-otp-authenticator');
//Hide "Email OTP Router → Add Snippet".
remove_submenu_page('email-otp-authenticator', 'snippets-email-otp-authenticator');
//Hide "Email OTP Router → Switch Plugin".
remove_submenu_page('email-otp-authenticator', 'switch-email-otp-authenticator');
//Hide "Email OTP Router → Set-up Wizard".
remove_submenu_page('email-otp-authenticator', 'setupwizard-email-otp-authenticator');
//Hide "Email OTP Router → Official Website".
remove_submenu_page('email-otp-authenticator', '#');
}
add_action('admin_menu', 'plt_hide_email_otp_authenticator_menus', 11);
Where do I put this code?