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.2

apply_filters('is_header_video_active') is found 1 times:

  • /wp-includes/theme.php line 1784
    1780
    1781
    1782
    1783
    1784
    1785
    1786
    1787
    1788
    1789
    1790
         * @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.