How to Hide the "Zedgad" Admin Menu

function plt_hide_zedgad_menus() {
	//Hide the "Zedgad" menu.
	remove_menu_page('zedgad-autoshare');
}

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

Where do I put this code?