WP_REST_Edit_Site_Export_Controller
Class: Controller which provides REST endpoint for exporting current templates and template parts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php:17
Class: Controller which provides REST endpoint for exporting current templates and template parts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php:17
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php:24
Method: Registers the site export route.
Source: wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php:34
Method: Checks whether a given request has permission to export.
Source: wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php:55
Method: Output a ZIP file with an export of the current templates and template parts from the site editor, and close the connection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php:75