Esempio n. 1
0
/**
 * Clear a cached value
 *
 * @see PodsView::clear
 *
 * @param string|bool $key Key for the cache
 * @param string $group (optional) Key for the group
 *
 * @return bool
 *
 * @since 2.3.10
 */
function pods_option_cache_clear($key = true, $group = '')
{
    return pods_view_clear($key, 'option-cache', $group);
}
Esempio n. 2
0
/**
 * Clear a cached value
 *
 * @see PodsView::clear
 *
 * @param string|bool $key Key for the cache
 *
 * @return bool
 *
 * @since 2.0
 */
function pods_transient_clear($key = true)
{
    return pods_view_clear($key, 'transient');
}