WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_generate_tag_cloud

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/category-template.php apply_filters 1054 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
array[] $tags_data An array of term data arrays for terms used to generate the tag cloud.