_wp_object_count_sort_cb

Advertisement

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

Serves as a callback for comparing objects based on count.

Syntax Syntax

_wp_object_count_sort_cb( object $a, object $b )

Description Description

Used with uasort().

Parameters Parameters

$a

(Required) The first object to compare.

$b

(Required) The second object to compare.

Return Return

(bool) Whether the count value for $a is greater than the count value for $b.

Source Source

File: wp-includes/category-template.php

 * @access private
 *
 * @param object $a The first object to compare.

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply