/** * espresso_event_status * returns a banner showing the event status if it is sold out, expired, or inactive * * @param bool $EVT_ID * @return string */ function espresso_event_status_banner($EVT_ID = FALSE) { EE_Registry::instance()->load_helper('Event_View'); return EEH_Event_View::event_status($EVT_ID); }
/** * espresso_event_status * returns a banner showing the event status if it is sold out, expired, or inactive * * @param bool $EVT_ID * @return string */ function espresso_event_status_banner($EVT_ID = FALSE) { return EEH_Event_View::event_status($EVT_ID); }