Class: CustomHeader

wp. CustomHeader


new CustomHeader()

Create a custom header instance.
Source:

Members


BaseVideoHandler :BaseHandler

Base handler for custom handlers to extend.
Type:
  • BaseHandler
Source:

Methods


initialize()

Initialize the custom header. If the environment supports video, loops through registered handlers until one is found that can handle the video.
Source:

supportsVideo()

Determines if the current environment supports video. Themes and plugins can override this method to change the criteria.
Source:
Returns:
Type
boolean