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:- (int|false) The item's new value on success, false on failure.
Defined at: - Introduced in WordPress: 3.3.0
- Deprecated in WordPress: —
Description
Increments numeric cache item's value.