apply_filters( 'site_status_persistent_object_cache_thresholds', int[] $thresholds )
Filters the thresholds used to determine whether to suggest the use of a persistent object cache.
Parameters
-
$thresholds
int[] -
The list of threshold numbers keyed by threshold name.
Source
File: wp-admin/includes/class-wp-site-health.php
.
View all references
$thresholds = apply_filters(
'site_status_persistent_object_cache_thresholds',
array(
'alloptions_count' => 500,
'alloptions_bytes' => 100000,
'comments_count' => 1000,
'options_count' => 1000,
'posts_count' => 1000,
'terms_count' => 1000,
'users_count' => 1000,
)
);
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |