WordPress template tags WP_ generate_ tag_ Cloud is used to generate tag names. It must pass an object containing tag information.
wp_generate_tag_cloud( object $tags, array $args = '' )
Function parameters
$tags
Object, which is empty by default
You must pass an object that contains label information, otherwise WP_ generate_ tag_ The cloud() function does not return any value, which can be accessed through get_ The tags() function gets the tag information.
$args
Array
Reference WP_ tag_ Description of the $args parameter value of the cloud() function.
Examples of function usage
<?php echo wp_generate_tag_cloud( get_tags() ); ?>
Extended reading
wp_ generate_ tag_ The cloud() function is located in: WP includes / category- template.php
Related Tags:
- get_ tag()
- get_ tag_ link()
- get_ tags()
- get_ the_ tag_ list()
- get_ the_ tags()
- is_ tag()
- the_ tags()
- single_ tag_ title()
- tag_ description()
- wp_ tag_ cloud()