wpseek.com
WordPress开发者和主题制作者的搜索引擎
site_status_page_cache_supported_cache_headers › WordPress过滤钩子
Since6.1.0
已弃用n/a
› apply_filters( 'site_status_page_cache_supported_cache_headers', $cache_headers )
| 参数: |
|
| 定义在: |
|
| 文档: |
Filters the list of cache headers supported by core.
This list indicates how each of the specified headers will be checked to indicate if a page cache is enabled or not. WordPress checks for each of the headers in the returned array. If the callback is provided, it will be passed the value for the corresponding header and return a boolean value indicating if the header suggests that a cache is active. If the value is `null` for the header, then WordPress will assume that a cache is active if the header is present, regardless of its value.Related Functions: wp_get_nocache_headers, wp_cache_supports, is_site_meta_supported, rest_send_cors_headers