/**
  * Updates an venue
  *
  * @param int   $venueId The venue ID to update.
  * @param array $data    The venue data.
  *
  * @return void
  */
 public static function updateVenue($venueId, $data)
 {
     $data['ShowMap'] = isset($data['ShowMap']) ? $data['ShowMap'] : 'false';
     $data['ShowMapLink'] = isset($data['ShowMapLink']) ? $data['ShowMapLink'] : 'false';
     TribeEventsAPI::saveVenueMeta($venueId, $data);
     do_action('tribe_events_venue_updated', $venueId, $data);
 }
 /**
  * Updates a venue
  */
 public static function updateVenue($venueId, $data)
 {
     wp_update_post(array('post_title' => $data['Venue'], 'ID' => $venueId));
     TribeEventsAPI::saveVenueMeta($venueId, $data);
 }
 /**
  * Updates an venue
  *
  * @param int $venueId The venue ID to update.
  * @param array $data The venue data.
  * @return void
  */
 public static function updateVenue($venueId, $data)
 {
     wp_update_post(array('post_title' => $data['Venue'], 'ID' => $venueId));
     $data['ShowMap'] = isset($data['ShowMap']) ? $data['ShowMap'] : 'false';
     $data['ShowMapLink'] = isset($data['ShowMapLink']) ? $data['ShowMapLink'] : 'false';
     TribeEventsAPI::saveVenueMeta($venueId, $data);
     do_action('tribe_events_venue_updated', $venueId, $data);
 }