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



site_status_good_response_time_threshold › WordPress过滤钩子

Since6.1.0
已弃用n/a
› apply_filters( 'site_status_good_response_time_threshold', 600 )
参数:
  • () threshold Threshold in milliseconds. Default 600.
    Required: Yes
定义在:
文档:

Filters the threshold below which a response time is considered good.

The default is based on https://web.dev/time-to-first-byte/.


Related Functions: rest_filter_response_fields


源码

return (int) apply_filters( 'site_status_good_response_time_threshold', 600 );