WP_REST_Edit_Site_Export_Controller
Controller which provides REST endpoint for exporting current templates and template parts.
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.