W3cubDocs

/WordPress

apply_filters( 'tag_cloud_sort', WP_Term[] $tags, array $args )

Filters how the items in a tag cloud are sorted.

Parameters

$tags

(WP_Term[]) Ordered array of terms.

$args

(array) An array of tag cloud arguments.

Source

File: wp-includes/category-template.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/tag_cloud_sort