apply_filters( 'site_status_available_object_cache_services', string[] $services )
- Since
- 6.1.0
Filters the persistent object cache services available to the user.
Description
This can be useful to hide or add services not included in the defaults.
Compatibility
- WordPress
- since 6.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$servicesstring[]- The list of available persistent object cache services.
Where this hook fires · 1
wp-admin/includes/class-wp-site-health.php:3861WP_Site_Health::available_object_cache_services()
Source code
* This can be useful to hide or add services not included in the defaults. * * @since 6.1.0 * * @param string[] $services The list of available persistent object cache services. */ return apply_filters( 'site_status_available_object_cache_services', $services ); }}Changelog
Introduced in 6.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.