WP_REST_Autosaves_Controller::prepare_item_for_response()
Prepares the revision for the REST response.
Prepares the revision for the REST response.
Parse block metadata for a block, and prepare it for an API response.
Prepares a block type object for serialization.
Prepares a single comment output for response.
Controller which provides REST endpoint for exporting current templates and template parts.
Constructor.
Output a ZIP file with an export of the current templates and template parts from the site editor, and close the connection.
Checks whether a given request has permission to export.
Registers the site export route.
Constructor.