get_header_video_url() WP 1.0
Retrieve header video URL for custom header.
Uses a local video if present, or falls back to an external video.
Works based on: get_theme_mod(), wp_get_attachment_url()
Basis of: has_header_video(), the_header_video_url()
Hooks from the function
Return
String/false. Header video URL or false if there is no video.
Usage
get_header_video_url();
Changelog
Since 4.7.0 | Introduced. |
Code of get_header_video_url() get header video url WP 5.6
Related Functions
From tag: custom_header (theme options: video color image)
More from category: Other Theme Functions
- add_theme_support()
- bloginfo()
- body_class()
- current_theme_supports()
- get_custom_logo()
- get_page_templates()
- get_post_class()
- get_query_template()
- get_stylesheet()
- get_template()
- get_theme_mod()
- get_theme_mods()
- get_theme_root()
- has_custom_logo()