Deletes multiple values from the cache in one call.
Parameters
$keys
arrayrequired- Array of keys to be deleted.
$group
stringoptional- Where the cache contents are grouped.
Default:
''
Source
public function delete_multiple( array $keys, $group = '' ) { $values = array(); foreach ( $keys as $key ) { $values[ $key ] = $this->delete( $key, $group ); } return $values; }
Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.