Tribe__Tickets__Main::setup_attendance_totals( int|bool $event_id = null )
Adds RSVP 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|bool) (Optional) The post ID to set up attendance 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.8.2 | Add the $event_id parameter. |
| 4.2.4 | Introduced. |