WP_Site_Health::get_page_cache_headers()
Returns a list of headers and its verification callback to verify if page cache is enabled or not.
Description
Note: key is header name and value could be callable function to verify header value.
Empty value mean existence of header detect page cache is enabled.
Return
(array) List of client caching headers and their (optional) verification callbacks.
Source
File: wp-admin/includes/class-wp-site-health.php
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |