How to Hide the "Events Tracker" Admin Menu

function plt_hide_ads_pixel_menus() {
	//Hide the "Events Tracker" menu.
	remove_menu_page('events-tracker-setting');
}

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

Where do I put this code?