get_the_archive_title

FUNCTION wp-includes\general-template.php (ligne 1711) github
Retrieves the archive title based on the queried object.

Paramètres

Entrée :
N/A
Sortie :
@return string Archive title.

Utilisation

// Utilisation de la fonction get_the_archive_title
$result = get_the_archive_title();

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

Actualités

Chargement des actualités...