Tribe__Tickets__Tickets_View::sort_attendees( $a,  $b )

Sort Attendee by Order Status to Process Not Going First.


Parameters

$a

(Required) array An array of ticket id and status.

$b

(Required) array An array of ticket id and status.


Top ↑

Return

(int)


Top ↑

Source

File: src/Tribe/Tickets_View.php

	public function sort_attendees( $a, $b ) {
		return strcmp( $a['order_status'], $b['order_status'] );
	}

Top ↑

Changelog

Changelog
Version Description
4.7.1 Introduced.