rest_send_nocache_headers
apply_filters( ‘rest_send_nocache_headers’, bool $rest_send_nocache_headers )
过滤器::对经过身份验证的请求发送nocache头。Filter Hook: Send nocache headers on authenticated requests.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$rest_send_nocache_headers | (bool) | 是否不发送缓存头。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-includes/rest-api/class-wp-rest-server.php:256 | 1 | 0 |
上一篇: rest_route_data
总计 0 评论