WordPress at a glance
filter is not described

tag_cloud_sort filter-hook . WP 2.8.0

Filters how the items in a tag cloud are sorted.

Usage

add_filter( 'tag_cloud_sort', 'filter_function_name_5350', 10, 2 );
function filter_function_name_5350( $tags, $args ){
	// filter...

	return $tags;
}
$tags(WP_Term[])
Ordered array of terms.
$args(array)
An array of tag cloud arguments.

Where the hook is called

wp_generate_tag_cloud()
tag_cloud_sort
wp-includes/category-template.php 860
$tags_sorted = apply_filters( 'tag_cloud_sort', $tags, $args );

Where the hook is used (in WP core)

Использование не найдено.