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



rest_send_nocache_headers ›

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

Send nocache headers on authenticated requests.





源码

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