site_status_good_response_time_threshold

过滤钩子


apply_filters( 'site_status_good_response_time_threshold', 600 )
参数
  • (int)
    $threshold
    Threshold in milliseconds. Default 600.
    Required:
定义位置
  • wp-admin/includes/class-wp-site-health.php
    , line 3313
引入
6.1.0
弃用

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

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

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