-
Home
-
Sucuri Security – Auditing, Malware Scanner and Security Hardening
- Tips
function plt_hide_sucuri_scanner_menus() {
//Hide "Sucuri Security".
remove_menu_page('sucuriscan');
//Hide "Sucuri Security → Dashboard".
remove_submenu_page('sucuriscan', 'sucuriscan');
//Hide "Sucuri Security → Firewall (WAF)".
remove_submenu_page('sucuriscan', 'sucuriscan_firewall');
//Hide "Sucuri Security → Last Logins".
remove_submenu_page('sucuriscan', 'sucuriscan_lastlogins');
//Hide "Sucuri Security → Settings".
remove_submenu_page('sucuriscan', 'sucuriscan_settings');
}
add_action('admin_menu', 'plt_hide_sucuri_scanner_menus', 11);
Where do I put this code?