How to Hide the "Muchat" Admin Menu

function plt_hide_muchat_ai_menus() {
	//Hide the "Muchat" menu.
	remove_menu_page('muchat-settings');
}

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

Where do I put this code?