WPDev.one
Core Function
View Source on Trac ↗

wp_cache_delete_multiple()

wp_cache_delete_multiple( array $keys, mixed $group = '' )

Deletes multiple values from the cache in one call.

Parameters 1 required

Name / Type Description
$keys
array

Array of keys under which the cache to deleted.

Required
$group
string

Optional. Where the cache contents are grouped. Default empty.

Return Value

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

Function Information

Since Version
6.0.0
Source File
wp-includes/cache.php
Advertisement