_wp_object_name_sort_cb
- %1$s is private and should not be used in themes or plugins directly.
_wp_object_name_sort_cb ( $a, $b )
Access:Parameters:- (object) a The first object to compare.
- (object) b The second object to compare.
Returns:- (int) Negative number if `$a->name` is less than `$b->name`, zero if they are equal, or greater than zero if `$a->name` is greater than `$b->name`.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Serves as a callback for comparing objects based on name.Used with `uasort()`.