Class: Notification

wp.customize. Notification


new Notification(code, params)

Notification.
Parameters:
Name Type Description
code string The error code.
params object Params.
Properties
Name Type Argument Default Description
message string null The error message.
type string <optional>
error The notification type.
fromServer boolean <optional>
false Whether the notification was server-sent.
setting string <optional>
null The setting ID that the notification is related to.
data * <optional>
null Any additional data.
Since:
  • 4.6.0
Source:

Extends

  • wp.customize.Class