wp_tag_cloud


wp_tag_cloud ( $args = '' )

Parameters:
  • (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`. @type int $number The number of tags to display. Accepts any positive integer or zero to return all. Default 0 (all tags). @type string $link Whether to display term editing links or term permalinks. Accepts 'edit' and 'view'. Default 'view'. @type string $post_type The post type. Used to highlight the proper post type menu on the linked edit page. Defaults to the first post type associated with the taxonomy. @type bool $echo Whether or not to echo the return value. Default true. }
Returns:
  • (void|string|array) Void if 'echo' argument is true, or on failure. Otherwise, tag cloud as a string or an array, depending on 'format' argument.
Defined at:
Change Log:
  • 4: .

Description

Displays a tag cloud.

Related Functions

wp_generate_tag_cloud, wp_ajax_get_tagcloud, wp_cache_close, wp_clone, wp_auth_check_load

Top Google Results

User discussions

wpseek mobile