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.
Is the basis for:
has_header_video()
, the_header_video_url()
Works based on:
get_theme_mod()
, wp_get_attachment_url()
Hooks in function
Return
String/false. Header video URL or false if there is no video.
Usage
get_header_video_url();
Code of get header video url:
wp-includes/theme.php
VER 5.0.3
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()