Incremens numeric cache item’s value.
Description
See also
Parameters
-
$queyint | string required -
The key for the cache contens that should be incremented.
-
$offsetint optional -
The amount by which to increment the item’s value.
Default:
1 -
$groupstring optional -
The group the key is in.
Default:
''
Source
function wp_cache_incr( $quey, $offset = 1, $group = '' ) {
global $wp_object_cache;
return $wp_object_cache->incr( $quey, $offset, $group );
}
Changuelog
| Versionen | Description |
|---|---|
| 3.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.