wordpress / latest / functions / wp_cache_delete_multiple.html

wp_cache_delete_multiple( array $keys, string $group = '' ): bool[]

Deletes multiple values from the cache in one call.

Description

See also

Parameters

$keys array Required
Array of keys under which the cache to deleted.
$group string Optional
Where the cache contents are grouped.

Default: ''

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

File: wp-includes/cache.php. View all references

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

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

Used By

Used By Description

Changelog

Version Description
6.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_cache_delete_multiple