WPDev.one
Core Function
View Source on Trac ↗

wp_tag_cloud()

wp_tag_cloud( mixed $args = '' )

Displays a tag cloud.

Parameters 1 required

Name / Type Description
mixed

(array | string) $args { Optional. Array or string of arguments for displaying a tag cloud. See wp_generate_tag_cloud() and get_terms() for the full lists of arguments that can be passed in `$args`.

Required

Return Value

((void)
(void | string | string[]) Void if 'echo' argument is true, or on failure. Otherwise, tag cloud as a string or an array, depending on 'format' argument.

Function Information

Since Version
2.3.0
Source File
wp-includes/category-template.php
Advertisement