function plt_hide_malcare_security_menus() { //Hide the "MalCare" menu. remove_menu_page('malcare'); } add_action('admin_menu', 'plt_hide_malcare_security_menus', 11);
Where do I put this code?