Tribe__Tickets__Commerce__PayPal__Main::setup_attendance_totals( int|null $event_id = null )

Adds Tribe Commerce attendance totals to the summary box of the attendance screen.

Expects to fire during ‘tribe_tickets_attendees_page_inside’, ie before the attendee screen is rendered.


Parameters

$event_id

(int|null) (Optional) The event ID to get the attendance totals for.

Default value: null


Top ↑

Source

File: src/Tribe/Commerce/PayPal/Main.php

	public function setup_attendance_totals() {
		$this->attendance_totals()->integrate_with_attendee_screen();
	}

Top ↑

Changelog

Changelog
Version Description
5.8.2 Added the $event_id parameter.
4.7 Introduced.