Delete an item from the cache by its unique key.
Parameters
$keystringrequired- The unique cache key of the item to delete.
Source
public function delete( $key ): bool {
return wp_cache_delete( $key, self::CACHE_GROUP );
}
Changelog
| Version | Description |
|---|---|
| 7.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.