function plt_hide_kaatai_consent_manager_menus() { //Hide the "KaaTai Consent" menu. remove_menu_page('kaatai-consent-manager'); } add_action('admin_menu', 'plt_hide_kaatai_consent_manager_menus', 11);
Where do I put this code?