wp_tag_cloud

wp_tag_cloud

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('wp_tag_cloud') is found 1 times:

  • /wp-includes/category-template.php line 778
    	 * @param string|string[] $return Tag cloud as a string or an array, depending on 'format' argument.
    	 * @param array           $args   An array of tag cloud arguments. See wp_tag_cloud()
    	 *                                for information on accepted arguments.
    	 */
    	$return = apply_filters( 'wp_tag_cloud', $return, $args );
    
    	if ( 'array' === $args['format'] || empty( $args['echo'] ) ) {
    		return $return;
    	}
    
    	echo $return;