Tribe__Tickets__Abstract_Attendance_Totals::__construct( int $event_id )
Sets up totals for the specified event.
Contents
Parameters
- $event_id
-
(int) (Required)
Source
File: src/Tribe/Abstract_Attendance_Totals.php
public function __construct( $event_id = 0 ) {
if ( ! $this->set_event_id( $event_id ) ) {
return;
}
$this->calculate_totals();
}