function plt_hide_genium_gdpr_consent_popup_menus() { //Hide the "Settings → Genium - GDPR Consent Popup" menu. remove_submenu_page('options-general.php', 'ctcc'); } add_action('admin_menu', 'plt_hide_genium_gdpr_consent_popup_menus', 11);
Where do I put this code?