wp cache replace <key> <value> <group> <expiration>
Replaces a value in the object cache, if the value already exists
Arguments
Name | Description |
---|---|
key | Cache key |
value | Value to replace |
group | Method for grouping data within the cache which allows the same key to be used across groups |
expiration | Define how long to keep the value, in seconds. 0 means as long as possible |