How to Hide Forminator Admin Menus

function plt_hide_forminator_menus() {
	//Hide "Forminator".
	remove_menu_page('forminator');
	//Hide "Forminator → Dashboard".
	remove_submenu_page('forminator', 'forminator');
	//Hide "Forminator → Forms".
	remove_submenu_page('forminator', 'forminator-cform');
	//Hide "Forminator → Polls".
	remove_submenu_page('forminator', 'forminator-poll');
	//Hide "Forminator → Quizzes".
	remove_submenu_page('forminator', 'forminator-quiz');
	//Hide "Forminator → Submissions".
	remove_submenu_page('forminator', 'forminator-entries');
	//Hide "Forminator → Integrations".
	remove_submenu_page('forminator', 'forminator-integrations');
	//Hide "Forminator → Settings".
	remove_submenu_page('forminator', 'forminator-settings');
	//Hide "Forminator → Forminator Pro".
	remove_submenu_page('forminator', 'forminator-upgrade');
}

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

Where do I put this code?