Hooks::filter_checkin_statuses( array $statuses = array() )
Filters the array of statuses that will mark an ticket attendee as eligible for check-in.
Contents
Parameters
- $statuses
-
(array) (Optional) An array of statuses that should mark an ticket attendee as available for check-in.
Default value: array()
Return
(array) The original array plus the 'yes' status.
Source
File: src/Tickets/Commerce/Hooks.php
public function filter_checkin_statuses( array $statuses = [] ) {
$statuses[] = tribe( Completed::class )->get_name();
return array_unique( $statuses );
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |