wp_tag_cloud WordPress Filter Hook
The wp_tag_cloud hook allows you to modify the output of the default WordPress tag cloud. This can be useful if you want to change the way the tags are displayed, or if you want to add additional information to the tag cloud.
apply_filters( 'wp_tag_cloud', string|string[] $return , array $args ) #
Filters the tag cloud output.
Parameters
- $return
(string|string[])Tag cloud as a string or an array, depending on 'format' argument.
- $args
(array)An array of tag cloud arguments. See wp_tag_cloud() for information on accepted arguments.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |