wp_cache_decr
wp_cache_decr ( $key, $offset = 1, $group = '' )
Parameters:- (int|string) key The cache key to decrement.
- (int) offset Optional. The amount by which to decrement the item's value. Default 1.
- (string) group Optional. The group the key is in. Default empty.
See:Returns:- (int|false) The item's new value on success, false on failure.
Defined at: - Introduced in WordPress: 3.3.0
- Deprecated in WordPress: —
Description
Decrements numeric cache item's value.