function espresso_display_venue_in_event_details()
{
    return EED_Event_Single::display_venue();
}
 /**
  * 	template_settings_form
  *
  *  @access 	public
  *  @static
  *  @return 	void
  */
 public static function template_settings_form()
 {
     $config = EE_Registry::instance()->CFG->template_settings;
     $config = isset($config->EED_Event_Single) && $config->EED_Event_Single instanceof EE_Event_Single_Config ? $config->EED_Event_Single : new EE_Event_Single_Config();
     $config->use_sortable_display_order = isset($config->use_sortable_display_order) ? $config->use_sortable_display_order : false;
     $config = apply_filters('FHEE__EED_Event_Single__template_settings_form__event_list_config', $config);
     $event_single_order_array = array();
     $event_single_order_array[$config->display_order_tickets] = 'tickets';
     $event_single_order_array[$config->display_order_datetimes] = 'datetimes';
     $event_single_order_array[$config->display_order_event] = 'event';
     $event_single_order_array[$config->display_order_venue] = 'venue';
     // get template parts
     $template_parts = EED_Event_Single::instance()->initialize_template_parts($config);
     // convert to array so that we can add more properties
     $config = get_object_vars($config);
     $config['event_single_display_order'] = $template_parts->generate_sortable_list_of_template_parts('event-single-sortable-js', '', 'single-sortable-li single-sortable-js');
     EEH_Template::display_template(EVENT_SINGLE_CAFF_TEMPLATES_PATH . 'admin-event-single-settings.template.php', $config);
 }
 /**
  * @return EED_Event_Single_Caff
  */
 public static function instance()
 {
     return parent::get_instance(__CLASS__);
 }
 /**
  * 	display_venue
  *
  *  @access 	public
  *  @return 	bool
  */
 public static function display_venue()
 {
     EE_Registry::instance()->load_helper('Venue_View');
     /** @type EE_Event_Single_Config EED_Event_Single::instance()->config() */
     $display_venue = isset(EED_Event_Single::instance()->config()->display_venue) ? EED_Event_Single::instance()->config()->display_venue : TRUE;
     $venue_name = EEH_Venue_View::venue_name();
     return $display_venue && !empty($venue_name) ? TRUE : FALSE;
 }
 /**
  * 	display_venue
  *
  *  @access 	public
  *  @return 	bool
  */
 public static function display_venue()
 {
     /** @type EE_Event_Single_Config $config */
     $config = EED_Event_Single::instance()->config();
     $display_venue = isset($config->display_venue) ? $config->display_venue : TRUE;
     $venue_name = EEH_Venue_View::venue_name();
     return $display_venue && !empty($venue_name) ? TRUE : FALSE;
 }