language_attributes

FUNCTION wp-includes\general-template.php (ligne 4547) github
Filters the language attributes for display in the 'html' tag.

Paramètres

Entrée :
$doctype = 'html'
Sortie :
@param string $output A space-separated list of language attributes.
@param string $doctype The type of HTML document (xhtml|html).
@param string $doctype Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'.

Utilisation

// Utilisation de la fonction language_attributes
$result = language_attributes($doctype = 'html');

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

Actualités

Chargement des actualités...