How to Hide the "OCM Pulse" Admin Menu

function plt_hide_ocm_pulse_menus() {
	//Hide the "OCM Pulse" menu.
	remove_menu_page('ocm-pulse');
}

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

Where do I put this code?