Description
Filters the threshold below which a response time is considered good. The default is based on https://web.dev/time-to-first-byte/.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/class-wp-site-health.php | 3501 |
Parameters
Type | Name | Description |
---|---|---|
int | $threshold | Threshold in milliseconds. Default 600. |
PHP Doc
/**
* Filters the threshold below which a response time is considered good.
*
* The default is based on https://web.dev/time-to-first-byte/.
*
* @param int $threshold Threshold in milliseconds. Default 600.
*
* @since 6.1.0
*/