WooCommerce Code Reference

EmailEditor

Namespaces

Engine
Integrations
Validator

Interfaces, Classes and Traits

HttpAwareException
Provides information for converting exceptions to HTTP responses.
Bootstrap
Bootstrap class for initializing the Email Editor functionality.
Container
Class Container is a simple dependency injection container.
Email_Css_Inliner
Class for inlining CSS in HTML emails.
Email_Editor_Container
Main package class.
Package
Main package class.
Exception
Frames all exceptions ("$e instanceof Automattic\WooCommerce\EmailEditor\Exception").
RuntimeException
USE: Generic runtime error. When possible, use a more specific exception instead.
UnexpectedValueException
USE: When wrong data VALUE is received.
AccessDeniedException
USE: When an action is forbidden for given actor (although generally valid).
NotFoundException
USE: When the main resource we're interested in doesn't exist.
ConflictException
USE: When the main action produces conflict (i.e. duplicate key).
InvalidStateException
USE: An application state that should not occur. Can be subclassed for feature-specific exceptions.
NewsletterProcessingException
Frames all exceptions ("$e instanceof Automattic\WooCommerce\EmailEditor\Exception").