-
Home
-
ByteDefense Security
- Tips
function plt_hide_bytedefense_menus() {
//Hide "ByteDefense".
remove_menu_page('bytedefense');
//Hide "ByteDefense → Scan Report".
remove_submenu_page('bytedefense', 'bytedefense');
//Hide "ByteDefense → Database Scan".
remove_submenu_page('bytedefense', 'bytedefense-database-scan');
//Hide "ByteDefense → GEO Protection".
remove_submenu_page('bytedefense', 'bytedefense-geo-protection');
//Hide "ByteDefense → Support".
remove_submenu_page('bytedefense', 'bytedefense-support');
}
add_action('admin_menu', 'plt_hide_bytedefense_menus', 11);
Where do I put this code?