-
Home
-
All In One Login — WordPress Login Security Plugin to Protect and Customize WP Admin
- Tips
function plt_hide_change_wp_admin_login_menus() {
//Hide "AIO Login".
remove_menu_page('aio-login');
//Hide "AIO Login → Dashboard".
remove_submenu_page('aio-login', 'aio-login');
//Hide "AIO Login → Login Protection".
remove_submenu_page('aio-login', 'admin.php?page=aio-login&tab=login-protection');
//Hide "AIO Login → Activity Log".
remove_submenu_page('aio-login', 'admin.php?page=aio-login&tab=activity-log');
//Hide "AIO Login → Security".
remove_submenu_page('aio-login', 'admin.php?page=aio-login&tab=security');
//Hide "AIO Login → Customize".
remove_submenu_page('aio-login', 'admin.php?page=aio-login&tab=customization');
//Hide "AIO Login → Get Pro".
remove_submenu_page('aio-login', 'admin.php?page=aio-login&tab=getpro');
}
add_action('admin_menu', 'plt_hide_change_wp_admin_login_menus', 1000000000);
Where do I put this code?