Generates a tag cloud (heatmap) from provided data.
$tags, $args = ''
Sortie :
@param WP_Term[] $tags Array of WP_Term objects to generate the tag cloud for.
@param string|array $args {
@return string|string[] Tag cloud as a string or an array, depending on 'format' argument.
// Utilisation de la fonction wp_generate_tag_cloud
$result = wp_generate_tag_cloud($tags, $args = '');
if ($result) {
// Votre logique ici
}
Chargement des actualités...