/** * espresso_venue_address * returns an UN-formatted string containing a venue's address * * @param string $type 'inline' or 'multiline' * @param int $VNU_ID * @param bool $echo * @return string */ function espresso_venue_raw_address($type = 'multiline', $VNU_ID = 0, $echo = TRUE) { EE_Registry::instance()->load_helper('Venue_View'); if ($echo) { echo EEH_Venue_View::venue_address($type, $VNU_ID, FALSE, FALSE); return ''; } return EEH_Venue_View::venue_address($type, $VNU_ID, FALSE, FALSE); }
/** * espresso_venue_address * returns an UN-formatted string containing a venue's address * * @param string $type 'inline' or 'multiline' * @param int $VNU_ID * @param bool $echo * @return string */ function espresso_venue_raw_address($type = 'multiline', $VNU_ID = 0, $echo = TRUE) { if ($echo) { echo EEH_Venue_View::venue_address($type, $VNU_ID, FALSE, FALSE); return ''; } return EEH_Venue_View::venue_address($type, $VNU_ID, FALSE, FALSE); }