get_tags

FUNCTION wp-includes\category.php (ligne 282) github
Retrieves all post tags.

Paramètres

Entrée :
$args = ''
Sortie :
@param string|array $args {
@return WP_Term[]|int|WP_Error Array of 'post_tag' term objects, a count thereof,

Utilisation

// Utilisation de la fonction get_tags
$result = get_tags($args = '');

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...