wpseek.com
WordPress开发者和主题制作者的搜索引擎



rest_send_nocache_headers › WordPress过滤钩子

Since6.3.2
已弃用n/a
› apply_filters( 'rest_send_nocache_headers', is_user_logged_in()
参数:
  • () rest_send_nocache_headers Whether to send no-cache headers.
    Required: Yes
定义在:
文档:

Filters whether to send no-cache headers on a REST API request.





源码

$send_no_cache_headers = apply_filters( 'rest_send_nocache_headers', is_user_logged_in() );