twentytwenty_site_description

FUNCTION wp-content\themes\twentytwenty\inc\template-tags.php (ligne 52) github
Filters the arguments for `twentytwenty_site_logo()`.

Paramètres

Entrée :
$display = true
Sortie :
@param array $args     Parsed arguments.
@param array $defaults Function's default arguments.
@param string $html      Compiled HTML based on our arguments.
@param array  $args      Parsed arguments.
@param string $classname Class name based on current view, home or single.
@param string $contents  HTML for site title or logo.
@param bool $display Display or return the HTML.
@return string The HTML to display.

Utilisation

// Utilisation de la fonction twentytwenty_site_description
$result = twentytwenty_site_description($display = true);

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

Actualités

Chargement des actualités...