Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This function would go in the theme's functions.php file
- // (or another suitable location) and will sort tickets by
- // name, alphabetically
- function tribe_wooticket_custom_sort($p, $q) {
- if ($p->name < $q->name) return -1;
- if ($p->name > $q->name) return 1;
- return 0;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement