WP_REST_Site_Health_Controller
Class: Core class for interacting with Site Health tests.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:17
Class: Core class for interacting with Site Health tests.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:17
Method: Site Health controller constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:35
Method: Registers API routes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:50
Method: Validates if the current user can request this REST endpoint.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:188
Filter Hook: Filters the capability needed to run a given Site Health check.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:199
Method: Checks if background updates work as expected.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:211
Method: Checks that the site can reach the WordPress.org API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:223
Method: Checks that loopbacks can be performed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:235
Method: Checks that the site’s frontend can be accessed over HTTPS.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:247
Method: Checks that the authorization header is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:259