apply_filters( 'wp_generate_tag_cloud', string[]|string $return, WP_Term[] $tags, array $args )
Filters the generated output of a tag cloud.
Description
The filter is only evaluated if a true value is passed to the $filter argument in wp_generate_tag_cloud().
See also
Parameters
- $return
-
(string[]|string) String containing the generated HTML tag cloud output or an array of tag links if the 'format' argument equals 'array'.
- $tags
-
(WP_Term[]) An array of terms used in the tag cloud.
- $args
-
(array) An array of wp_generate_tag_cloud() arguments.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_generate_tag_cloud