is_header_video_active

FUNCTION wp-includes\theme.php (ligne 1767) github
Checks whether the custom header video is eligible to show on the current page.

Paramètres

Entrée :
N/A
Sortie :
@return bool True if the custom header video should be shown. False if not.

Utilisation

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

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

Actualités

Chargement des actualités...