Un motore di ricerca WordPress per sviluppatori e autori di temi



is_header_video_active ›

Da4.7.0
Deprecaton/a
apply_filters( 'is_header_video_active', $show_video )
Parametri:
  • (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()`.
    Richiesto:
Definito a:
Codex:

Modify whether the custom header video is eligible to show on the current page.





Sorgenti

return apply_filters( 'is_header_video_active', $show_video );