On this page
apply_filters( 'site_status_good_response_time_threshold', int $threshold )
Filters the threshold below which a response time is considered good.
Description
The default is based on https://web.dev/time-to-first-byte/.
Parameters
$thresholdint-
Threshold in milliseconds. Default 600.
Source
File: wp-admin/includes/class-wp-site-health.php. View all references
return (int) apply_filters( 'site_status_good_response_time_threshold', 600 );
Related
Used By
| Used By | Description |
|---|---|
| WP_Site_Health::get_good_response_time_threshold() wp-admin/includes/class-wp-site-health.php | Gets the threshold below which a response time is considered good. |
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_status_good_response_time_threshold