is_header_video_active example

return apply_filters( 'header_video_settings', $settings );
}

/** * Checks whether a custom header is set or not. * * @since 4.7.0 * * @return bool True if a custom header is set. False if not. */
function has_custom_header() {
    if ( has_header_image() || ( has_header_video() && is_header_video_active() ) ) {
        return true;
    }

    return false;
}

/** * Checks whether the custom header video is eligible to show on the current page. * * @since 4.7.0 * * @return bool True if the custom header video should be shown. False if not. */
Home | Imprint | This part of the site doesn't use cookies.