Filter hook 'site_status_good_response_time_threshold'

in WP Core File wp-admin/includes/class-wp-site-health.php at line 3501

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
		 */