On this page
wp_cache_supports( string $feature ): bool
Determines whether the object cache implementation supports a particular feature.
Parameters
$featurestring Required-
Name of the feature to check for. Possible values include:
'add_multiple','set_multiple','get_multiple','delete_multiple','flush_runtime','flush_group'.
Return
bool True if the feature is supported, false otherwise.
Source
File: wp-includes/cache-compat.php. View all references
function wp_cache_supports( $feature ) {
return false;
}
Related
Used By
| Used By | Description |
|---|---|
| wp_cache_flush_group() wp-includes/cache-compat.php | Removes all cache items in a group, if the object cache implementation supports it. |
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_cache_supports