How to Hide the "Instagram Feed" Admin Menu

function plt_hide_wd_instagram_feed_menus() {
	//Hide the "Instagram Feed" menu.
	remove_menu_page('wdi_subscribe');
}

add_action('admin_menu', 'plt_hide_wd_instagram_feed_menus', 27);

Where do I put this code?