Ejemplo n.º 1
0
 /**
  * Gets the HTML for a single event in a listing.
  *
  * @since 	0.11
  * @access 	private
  * @param 	WPT_Event 	$event	The event.
  * @return 	string				The HTML.
  */
 private function get_listing_event_html($event)
 {
     $html = '';
     $args = array('html' => true);
     $html .= '<td>';
     $html .= $event->startdate_html();
     $html .= $event->starttime_html();
     $html .= '</td>';
     $html .= '<td>';
     $html .= $event->venue($args);
     $html .= $event->city($args);
     $html .= $event->remark($args);
     $html .= '</td>';
     $html .= '<td>';
     $html .= $event->tickets_html();
     $html .= '</td>';
     /**
      * Filter the HTML for a single event in a listing.
      *
      * @since 	0.11
      * @param 	string 		$html		The current HTML.
      * @param	WPT_Event	$event		The event.
      */
     return apply_filters('wpt/event_editor/listing/event/html', $html, $event);
 }