_wp_object_count_sort_cb


_wp_object_count_sort_cb ( $a, $b )

Access:
  • private
Parameters:
  • (object) a The first object to compare.
  • (object) b The second object to compare.
Returns:
  • (int) Negative number if `$a->count` is less than `$b->count`, zero if they are equal, or greater than zero if `$a->count` is greater than `$b->count`.
Defined at:

Description

Serves as a callback for comparing objects based on count.Used with `uasort()`.

Related Functions

_wp_object_name_sort_cb, _wp_get_current_user, wp_get_current_user, wp_set_current_user, wp_get_custom_css

Top Google Results

User discussions

wpseek mobile