WP_REST_Site_Health_Controller::test_page_cache()
Checks that full page cache is active.
Method of the class: WP_REST_Site_Health_Controller{}
No Hooks.
Return
Array
. The test result.
Usage
$WP_REST_Site_Health_Controller = new WP_REST_Site_Health_Controller(); $WP_REST_Site_Health_Controller->test_page_cache();
Changelog
Since 6.1.0 | Introduced. |
WP_REST_Site_Health_Controller::test_page_cache() WP REST Site Health Controller::test page cache code WP 6.6.2
public function test_page_cache() { $this->load_admin_textdomain(); return $this->site_health->get_test_page_cache(); }