-
Home
-
FluentAuth – The Ultimate Authorization & Security Plugin for WordPress
- Tips
function plt_hide_fluent_security_menus() {
//Hide "FluentAuth".
remove_menu_page('fluent-auth');
//Hide "FluentAuth → Dashboard".
remove_submenu_page('fluent-auth', 'fluent-auth');
//Hide "FluentAuth → Logs".
remove_submenu_page('fluent-auth', 'fluent-auth#/logs');
//Hide "FluentAuth → Security Settings".
remove_submenu_page('fluent-auth', 'fluent-auth#/settings');
//Hide "FluentAuth → Login/Signup Forms".
remove_submenu_page('fluent-auth', 'fluent-auth#/auth-shortcodes');
//Hide "FluentAuth → Login Redirects".
remove_submenu_page('fluent-auth', 'fluent-auth#/login-redirects');
//Hide "FluentAuth → Customize WP Emails".
remove_submenu_page('fluent-auth', 'fluent-auth#/custom-wp-emails');
//Hide "FluentAuth → Security Scans".
remove_submenu_page('fluent-auth', 'fluent-auth#/security-scans');
}
add_action('admin_menu', 'plt_hide_fluent_security_menus', 11);
Where do I put this code?