/** * espresso_event_categories * returns the terms associated with an event * * @param int $EVT_ID * @param bool $hide_uncategorized * @param bool $echo * @return string */ function espresso_event_categories($EVT_ID = 0, $hide_uncategorized = TRUE, $echo = TRUE) { EE_Registry::instance()->load_helper('Event_View'); if ($echo) { echo EEH_Event_View::event_categories($EVT_ID, $hide_uncategorized); return ''; } return EEH_Event_View::event_categories($EVT_ID, $hide_uncategorized); }
/** * espresso_event_categories * returns the terms associated with an event * * @param int $EVT_ID * @param bool $hide_uncategorized * @param bool $echo * @return string */ function espresso_event_categories($EVT_ID = 0, $hide_uncategorized = TRUE, $echo = TRUE) { if ($echo) { echo EEH_Event_View::event_categories($EVT_ID, $hide_uncategorized); return ''; } return EEH_Event_View::event_categories($EVT_ID, $hide_uncategorized); }