Definition:
function wp_cache_incr( $key, $offset = 1, $group = '' ) {}
Increment numeric cache item’s value
Parameters
- int|string $key: The cache key to increment
- int $offset: The amount by which to increment the item’s value. Default is 1.
- string $group: The group the key is in.
Return values
returns:False on failure, the item’s new value on success.
Source code
function wp_cache_incr( $key, $offset = 1, $group = '' ) { global $wp_object_cache; return $wp_object_cache->incr( $key, $offset, $group ); }
17449
No comments yet... Be the first to leave a reply!