Tribe__Tickets__Tickets_View::sort_attendees( $a, $b )
Sort Attendee by Order Status to Process Not Going First.
Contents
Parameters
- $a
-
(Required) array An array of ticket id and status.
- $b
-
(Required) array An array of ticket id and status.
Return
(int)
Source
File: src/Tribe/Tickets_View.php
public function sort_attendees( $a, $b ) {
return strcmp( $a['order_status'], $b['order_status'] );
}
Changelog
| Version | Description |
|---|---|
| 4.7.1 | Introduced. |