Function Reference/wp cache delete
Description
Removes the cache contents matching key and group.
Usage
<?php wp_cache_delete( $key, $group ); ?>
Parameters
- $key
- (int/string) (required) the key to indicate the value.
- Default: None
- $group
- (string) (optional) this is a way of grouping data within the cache. Allows you to use the same key across different groups.
- Default: None
Return
True on successful removal, false on failure