Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Expose a public API that allows the customizer to be loaded on any page.
Source:

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Ensure the global `wp` object exists.
Source:

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Ensure the global `wp` object exists.
Source:

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.

Namespace: wp

wp

Classes

BaseHandler
CustomHeader
NativeHandler
YouTubeHandler

Namespaces

a11y
api
api
api
Backbone
codeEditor
communityEvents
customHtmlWidget
customize
emoji
heartbeat
media
mediaWidgets
passwordStrength
textWidgets
updates
utils

Members


<static> sanitize

wp.sanitize Helper functions to sanitize strings.
Source:

<static> template

wp.template( id ) Fetch a JavaScript template for an id, and return a templating function for it.
Source:

Methods


<static> BaseHandler.extend(protoProps)

Create a custom handler.
Parameters:
Name Type Description
protoProps object Properties to apply to the prototype.
Source:
Returns:
CustomHandler The subclass.