wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php
Lines:
1 to 16 of 16
<?php /** * REST API: WP_REST_Edit_Site_Export_Controller class * * @package WordPress * @subpackage REST_API */ /* class WP_REST_Edit_Site_Export_Controller */ /* function WP_REST_Edit_Site_Export_Controller::__construct() – Constructor. */ /* function WP_REST_Edit_Site_Export_Controller::register_routes() – Registers the site export route. */ /* function WP_REST_Edit_Site_Export_Controller::permissions_check() – Checks whether a given request has permission to export. */ /* function WP_REST_Edit_Site_Export_Controller::export() – Output a ZIP file with an export of the current templates and template parts from the site editor, and close the connection. */