wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php


Lines:

1 to 23 of 23
<?php

/**
 * REST API: WP_REST_Site_Health_Controller class
 *
 * @package WordPress
 * @subpackage REST_API
 * @since 5.6.0
 */

/* class WP_REST_Site_Health_Controller */
/* function WP_REST_Site_Health_Controller::__construct() – Site Health controller constructor. */
/* function WP_REST_Site_Health_Controller::register_routes() – Registers API routes. */
/* function WP_REST_Site_Health_Controller::validate_request_permission() – Validates if the current user can request this REST endpoint. */
/* function WP_REST_Site_Health_Controller::test_background_updates() – Checks if background updates work as expected. */
/* function WP_REST_Site_Health_Controller::test_dotorg_communication() – Checks that the site can reach the WordPress.org API. */
/* function WP_REST_Site_Health_Controller::test_loopback_requests() – Checks that loopbacks can be performed. */
/* function WP_REST_Site_Health_Controller::test_https_status() – Checks that the site’s frontend can be accessed over HTTPS. */
/* function WP_REST_Site_Health_Controller::test_authorization_header() – Checks that the authorization header is valid. */
/* function WP_REST_Site_Health_Controller::get_directory_sizes() – Gets the current directory sizes for this install. */
/* function WP_REST_Site_Health_Controller::load_admin_textdomain() – Loads the admin textdomain for Site Health tests. */
/* function WP_REST_Site_Health_Controller::get_item_schema() – Gets the schema for each site health test. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,