get_header_video_url

FUNCTION wp-includes\theme.php (ligne 1660) github
Retrieves header video URL for custom header. Uses a local video if present, or falls back to an external video.

Paramètres

Entrée :
N/A
Sortie :
@return string|false Header video URL or false if there is no video.

Utilisation

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

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

Actualités

Chargement des actualités...