W3cubDocs

/WordPress

apply_filters( 'wp_generate_tag_cloud', array|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

(array|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

File: wp-includes/category-template.php

View on Trac

Changelog

Version Description
2.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_generate_tag_cloud