is_header_video_active

is_header_video_active

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('is_header_video_active') is found 1 times:

  • /wp-includes/theme.php line 1784
    	 * @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()`.
    	 */
    	return apply_filters( 'is_header_video_active', $show_video );
    }
    
    /**
     * Retrieves the markup for a custom header.
     *
     * The container div will always be returned in the Customizer preview.