Tribe__Tickets__Tickets::get_event_checkedin_attendees_count( int $post_id )
Returns the sum of all checked-in attendees for an event. Queries all registered providers.
Contents
Parameters
- $post_id
-
(int) (Required) ID of parent "event" post
Return
(mixed)
Source
File: src/Tribe/Tickets.php
final public static function get_event_checkedin_attendees_count( $post_id ) { /** @var Tribe__Tickets__Attendee_Repository $repository */ $repository = tribe_attendees(); return $repository->by( 'event', $post_id )->by( 'checkedin', true )->found(); }