Tribe__Tickets_Plus__Main::setup_attendance_totals( int $event_id = null )
Adds ticket attendance totals to the summary box of the attendance screen.
Contents
Expects to fire during ‘tribe_tickets_attendees_page_inside’, ie before the attendee screen is rendered.
Parameters
- $event_id
-
(int) (Optional) The event ID to set up the totals for.
Default value: null
Source
File: src/Tribe/Main.php
public function setup_attendance_totals() {
$this->attendance_totals()->integrate_with_attendee_screen();
}
Changelog
| Version | Description |
|---|---|
| 5.9.2 | Added the $event_id parameter. |
| 4.2.4 | Introduced. |