Description
Filters the generated output of a tag cloud. The filter is only evaluated if a true value is passed to the $filter argument in wp_generate_tag_cloud().
Occurrences
Filename | Line Number |
---|---|
wp-includes/category-template.php | 1054 |
Parameters
Type | Name | Description |
---|---|---|
string[]|string | $return | String containing the generated HTML tag cloud output or an array of tag links if the 'format' argument equals 'array'. |
WP_Term[] | $tags | An array of terms used in the tag cloud. |
array | $args | An array of wp_generate_tag_cloud() arguments. |
PHP Doc
/**
* Filters the generated output of a tag cloud.
*
* The filter is only evaluated if a true value is passed
* to the $filter argument in wp_generate_tag_cloud().
*
* @since 2.3.0
*
* @see wp_generate_tag_cloud()
*
* @param string[]|string $return String containing the generated HTML tag cloud output
* or an array of tag links if the 'format' argument
* equals 'array'.
* @param WP_Term[] $tags An array of terms used in the tag cloud.
* @param array $args An array of wp_generate_tag_cloud() arguments.
*/