How to Hide the "Canvas" Admin Menu

function plt_hide_mobile_app_menus() {
	//Hide the "Canvas" menu.
	remove_menu_page('canvas');
}

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

Where do I put this code?