WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about is_header_video_active

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/theme.php apply_filters 1710 /**
* Filters whether the custom header video is eligible to show on the current page.
*
* @since 4.7.0
*
* @param bool $show_video Whether the custom header video should be shown. Returns the value
* of the theme setting for the `custom-header`'s `video-active-callback`.
* If no callback is set, the default value is that of `is_front_page()`.
*/

Hook Parameters

Parameter Type Name Description
bool $show_video Whether the custom header video should be shown. Returns the value