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 name.
Syntax Syntax
Description Description
Used with uasort()
.
Parameters Parameters
- $a
-
(Required) The first object to compare.
- $b
-
(Required) The second object to compare.
Return Return
(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
.
Source Source
File: wp-includes/category-template.php
* equals 'array'. * @param WP_Term[] $tags An array of terms used in the tag cloud. * @param array $args An array of wp_generate_tag_cloud() arguments.
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |