wp_cache_delete_multiple() – Function | Developer.WordPress.org

Deletes multiple values from the cache in one call.

Description

See also

Parameters

$keysarrayrequired

Array of keys under which the cache to deleted.

$groupstringoptional

Where the cache contents are grouped. Default empty.

Return

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

Source

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

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

View all references View on Trac View on GitHub

Changelog

VersionDescription
6.0.0Introduced.