wp_cache_delete_multiple()WP 6.0.0

Deletes multiple values from the cache in one call.

No Hooks.

Return

true|false[]. Array of return values, grouped by key. Each value is either true on success, or false if the contents were not deleted.

Usage

wp_cache_delete_multiple( $keys, $group );
$keys(array) (required)
Array of keys under which the cache to deleted.
$group(string)
Where the cache contents are grouped.
Default: ''

Notes

Changelog

Since 6.0.0 Introduced.

wp_cache_delete_multiple() code WP 6.6.2

function wp_cache_delete_multiple( array $keys, $group = '' ) {
	global $wp_object_cache;

	return $wp_object_cache->delete_multiple( $keys, $group );
}