Filters the data the newsletter email editor needs to start. Returns the editor’s settings, its theme, the resolved canvas template, the available personalization tags and the blog’s saved design. Unfiltered on a site with nothing implementing it, which the endpoint reports as unavailable rather than as an empty design. Internal, and not settled: the editor this serves is still being built, so the shape of what comes back is expected to change. Do not depend on it from outside the plugin.
Parameters
- $data
(array | WP_Error | null) The editor's bootstrap data. Null until something provides one.
- $request
WP_REST_Request The REST request.
Changelog
- Introduced in Jetpack 16.2