Definition:
function wp_cache_decr( $key, $offset = 1, $group = '' ) {}
Decrement numeric cache item’s value
Parameters
- int|string $key: The cache key to increment
- int $offset: The amount by which to decrement 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_decr( $key, $offset = 1, $group = '' ) {
global $wp_object_cache;
return $wp_object_cache->decr( $key, $offset, $group );
}
17443

December 13, 2011 


No comments yet... Be the first to leave a reply!