Since: 2.0
pods_cache_set
Set a cached value
Function Definition
function pods_cache_set ( $key, $value, $group = '', $expires = 0)
Source File: /pods/includes/general.php
Parameters
Parameter | Type | Details |
---|---|---|
$key | (string) | Key for the cache |
$value | (mixed) | Value to add to the cache |
$group | (string) | Key for the group |
$expires | (int) | (optional) Time in seconds for the cache to expire, if 0 caching is disabled. |
Returns
(bool|mixed|null|string|void)