apply_filters( 'rest_send_nocache_headers', bool $rest_send_nocache_headers )
Filters whether to send nocache headers on a REST API request.
Parameters
- $rest_send_nocache_headers
-
Whether to send no-cache headers.
Source
Changelog
Version | Description |
---|---|
6.x.x | Moved the block to catch the filter added on rest_cookie_check_errors() from rest-api.php |
4.4.0 | Introduced. |