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

Filters how the items in a tag cloud are sorted.


Parameters

$tags

Ordered array of terms.

$args

An array of tag cloud arguments.


Source

File: wp-includes/category-template.php

View on GitHub


Changelog

Changelog
Version Description
2.8.0 Introduced.