Technical Docs

Search Documentation

Function: tribe_sort_by_priority

Sorting function based on Priority

Located at src/functions/utils.php (Line: 244)

Parameters summary

(object|array) $a First Subject to compare
(object|array) $b Second subject to compare

Return value summary

(int)

Examples

int tribe_sort_by_priority ( object|array $a, object|array $b )