Tips on Customizing GRC Contact API for Sendinblue

How to Hide CRM GRC Contact API Form Admin Menus

function plt_hide_crm_grc_contact_by_sg_menus() {
	//Hide "GRC Contact".
	remove_menu_page('crm-grc-contact-by-sg-index');
	//Hide "GRC Contact → Configuration".
	remove_submenu_page('crm-grc-contact-by-sg-index', 'crm-grc-contact-by-sg-index');
	//Hide "GRC Contact → Les APIs".
	remove_submenu_page('crm-grc-contact-by-sg-index', 'edit.php?post_type=grc_form_api');
	//Hide "GRC Contact → Nouvelle API".
	remove_submenu_page('crm-grc-contact-by-sg-index', 'post-new.php?post_type=grc_form_api');
	//Hide "GRC Contact → Logs API succès".
	remove_submenu_page('crm-grc-contact-by-sg-index', 'crm-grc-contact-by-sg-logs');
	//Hide "GRC Contact → Logs API error".
	remove_submenu_page('crm-grc-contact-by-sg-index', 'crm-grc-contact-by-sg-error-logs');
}

add_action('admin_menu', 'plt_hide_crm_grc_contact_by_sg_menus', 11);

Where do I put this code?

How to Hide CRM GRC Contact API Form Meta Boxes

function plt_hide_crm_grc_contact_by_sg_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "Mapping entre le formulaire et lAPI" meta box.
	remove_meta_box('crm-grc-contact-by-sg-main', $screen->id, 'normal');
	//Hide the "Clé du formulaire" meta box.
	remove_meta_box('crm-grc-contact-by-sg-_form_key', $screen->id, 'side');
}

add_action('add_meta_boxes', 'plt_hide_crm_grc_contact_by_sg_metaboxes', 20);