Since: 2.0
pods_transient_set
Set a cached value
Function Definition
Parameters
Parameter | Type | Details |
---|---|---|
$key | (string) | Key for the cache |
$value | (mixed) | Value to add to the cache |
$expires | (int) | (optional) Time in seconds for the cache to expire, if 0 caching is disabled. |
Returns
(bool|mixed|null|string|void)