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