How to Hide the "Smush" Admin Menu

function plt_hide_wp_smushit_menus() {
	//Hide the "Smush" menu.
	remove_menu_page('smush');
}

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

Where do I put this code?