get_header_video_url WordPress Filter Hook

The get_header_video_url Wordpress hook allows you to get the URL of the header video for a given Wordpress site. This can be useful if you want to embed the header video in another location or if you want to use the video in a custom header.

apply_filters( 'get_header_video_url', string $url ) #

Filters the header video URL.


Parameters

$url

(string)Header video URL, if available.


Top ↑

Source

File: wp-includes/theme.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.7.3Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More