I’ve been looking for information about sorting the attendees page by purchaser name. It becomes pretty important when the list is long.
I found a way to accomplish, but had to hack a core file. I’m looking for a way to do it with a filter or action hook.
In plugins/wootickets/src/Tribe/Main.php
* I added some code near line 821.
Under: $attendees = array();
I added: $names = array();
* Also added near line 875
Under the $attendeess[] array closing );
I added: $names[] = $name;
* Then just before the function return I added:
array_multisort($names, $attendees);
That sorts the attendees array by the values in the names array.
Anyway, if there is a non-core file way to do this I would like to work on it with you all.