How to Hide FluentCommunity Admin Menus

function plt_hide_fluent_community_menus() {
	//Hide the "Tools → Scheduled Actions" menu.
	remove_submenu_page('tools.php', 'action-scheduler');
	//Hide the "FluentCommunity" menu.
	remove_menu_page('fluent-community');
}

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

Where do I put this code?