wp cache add <key> <value> <group> <expiration>

Adds a value to the object cache

Arguments

NameDescription
keyCache key
valueValue to add to the key
groupMethod for grouping data within the cache which allows the same key to be used across groups
expirationDefine how long to keep the value, in seconds. 0 means as long as possible