Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php

WP_REST_Site_Health_Controller::test_page_cache()

Method: Checks that full page cache is active.

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::test_https_status()

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::get_item_schema()

Method: Gets the schema for each site health test.

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::load_admin_textdomain()

Method: Loads the admin textdomain for Site Health tests.

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

Used by 7 functions | Uses 3 functions

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::__construct()

Method: Site Health controller constructor.

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

Used by 1 function | Uses 0 functions

WP_REST_Site_Health_Controller::register_routes()

Method: Registers API routes.

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

Used by 0 functions | Uses 3 functions

WP_REST_Site_Health_Controller::validate_request_permission()

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

Used by 1 function | Uses 2 functions

site_health_test_rest_capability_{$check}

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

Used by 1 function | Uses 0 functions

WP_REST_Site_Health_Controller::test_background_updates()

Method: Checks if background updates work as expected.

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::test_dotorg_communication()

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::test_loopback_requests()

Method: Checks that loopbacks can be performed.

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::test_authorization_header()

Method: Checks that the authorization header is valid.

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

Used by 0 functions | Uses 1 function

WP_REST_Site_Health_Controller::get_directory_sizes()

Method: Gets the current directory sizes for this install.

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

Used by 0 functions | Uses 5 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry