WordPress at Your Fingertips
function is not described

_wp_object_count_sort_cb() WP 3.1.0

Serves as a callback for comparing objects based on count.

Used with uasort().

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

true|false. Whether the count value for $a is greater than the count value for $b.

Usage

_wp_object_count_sort_cb( $a, $b );
$a(object) (required)
The first object to compare.
$b(object) (required)
The second object to compare.

Changelog

Since 3.1.0 Introduced.

Code of _wp_object_count_sort_cb() WP 5.7.2

<?php
function _wp_object_count_sort_cb( $a, $b ) {
	return ( $a->count > $b->count );
}