Tribe__Tickets_Plus__Attendees_List::shortcode( array $atts )
Wrapper to create the Shortcode with the Attendees List
Contents
Parameters
- $atts
-
(array) (Required)
Return
(string)
Source
File: src/Tribe/Attendees_List.php
public function shortcode( $atts ) {
$atts = (object) shortcode_atts( array(
'event' => null,
'limit' => 20,
), $atts, 'tribe_attendees_list' );
ob_start();
$this->render( $atts->event, $atts->limit );
$html = ob_get_clean();
return $html;
}