wp_cache_supports( string $feature ): bool

In this article

Determines whether the object cache implementation supports a particular feature.

Parameters

$featurestringrequired
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

function wp_cache_supports( $feature ) {
	return false;
}

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.