-
Home
-
Acunetix WP Security
- Tips
function plt_hide_wp_security_scan_menus() {
//Hide "WP Security".
remove_menu_page('wps_');
//Hide "WP Security → Dashboard".
remove_submenu_page('wps_', 'wps_');
//Hide "WP Security → Database".
remove_submenu_page('wps_', 'wps_database');
//Hide "WP Security → WP Info".
remove_submenu_page('wps_', 'wps_scanner');
//Hide "WP Security → WP File Scan".
remove_submenu_page('wps_', 'wps_wpscan');
//Hide "WP Security → Live traffic".
remove_submenu_page('wps_', 'wps_live_traffic');
//Hide "WP Security → Blog".
remove_submenu_page('wps_', 'wps_blog');
//Hide "WP Security → Settings".
remove_submenu_page('wps_', 'wps_settings');
//Hide "WP Security → About".
remove_submenu_page('wps_', 'wps_about');
}
add_action('admin_menu', 'plt_hide_wp_security_scan_menus', 11);
Where do I put this code?