wp_tag_cloud WordPress Filter Hook

The wp_tag_cloud hook allows you to modify the output of the default WordPress tag cloud. This can be useful if you want to change the way the tags are displayed, or if you want to add additional information to the tag cloud.

apply_filters( 'wp_tag_cloud', string|string[] $return, array $args ) #

Filters the tag cloud output.


Parameters

$return

(string|string[])Tag cloud as a string or an array, depending on 'format' argument.

$args

(array)An array of tag cloud arguments. See wp_tag_cloud() for information on accepted arguments.


Top ↑

Source

File: wp-includes/category-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.