Filters the tag cloud output.
$returnstring|string[]
'format' argument.$argsarray
smallest int$unit, to determine CSS text size unit. Default 8 (pt).largest int$unit, to determine CSS text size unit. Default 22 (pt).unit string$smallest and $largest values. Accepts any valid CSS text size unit. Default 'pt'.number intformat string'flat' (tags separated with spaces), 'list' (tags displayed in an unordered list), or 'array' (returns an array).'flat'.separator stringorderby string'name' or 'count'.'name'. The 'tag_cloud_sort' filter can also affect how tags are sorted.order string'ASC' (ascending), 'DESC' (descending), or 'RAND' (random). Default 'ASC'.filter int|booltopic_count_text arraytopic_count_text_callback callabletopic_count_scale_callback callableshow_count bool|int$return = apply_filters( 'wp_tag_cloud', $return, $args );
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_tag_cloud