WP_REST_Site_Health_Controller::test_page_cache() – Checks that full page cache is active.

You appear to be a bot. Output may be restricted

Description

Checks that full page cache is active.

Usage

$array = WP_REST_Site_Health_Controller::test_page_cache();

Parameters

Returns

array The test result.

Source

File name: wordpress/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php
Lines:

1 to 4 of 4
  public function test_page_cache() {
    $this->load_admin_textdomain();
    return $this->site_health->get_test_page_cache();
  }
 

 View on GitHub View on Trac