wp_cache_incr
wp_cache_incr ( $key, $offset = 1, $group = '' )
Parameters:- (int|string) $key The key for the cache contents that should be incremented.
- (int) $offset Optional. The amount by which to increment the item's value. Default 1.
- (string) $group Optional. The group the key is in. Default empty.
See:Returns:- (false|int) False on failure, the item's new value on success.
Defined at: - Introduced in WordPress: 3.3.0
- Deprecated in WordPress: —
Description
Increment numeric cache item's value