Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: site_status_page_cache_supported_cache_headers

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
3158           );
3159
3160           /**
3161            * Filters the list of cache headers supported by core.
3162            *
3163            * @since 6.1.0
3164            *
3165            * @param array $cache_headers Array of supported cache headers.
3166            */
3167           return apply_filters( 'site_status_page_cache_supported_cache_headers', $cache_headers );
3168      }
3169
3170      /**
3171       * Checks if site has page cache enabled or not.
3172       *
3173       * @since 6.1.0
3174       *
3175       * @return WP_Error|array {
3176       *     Page cache detection details or else error information.