the_author

FUNCTION wp-includes\author-template.php (ligne 31) github
Filters the display name of the current post's author.

Paramètres

Entrée :
$deprecated = '', $deprecated_echo = true
Sortie :
@param string $display_name The author's display name.
@param string $deprecated      Deprecated.
@param bool   $deprecated_echo Deprecated. Use get_the_author(). Echo the string or return it.
@return string The author's display name, from get_the_author().

Utilisation

// Utilisation de la fonction the_author
$result = the_author($deprecated = '', $deprecated_echo = true);

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

Actualités

Chargement des actualités...