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:
  • WP_Object_Cache::incr()
Returns:
  • (int|false) The item's new value on success, false on failure.
Defined at:

Description

Increments numeric cache item's value.

Related Functions

wp_cache_init, wp_cache_decr, wp_cache_reset, wp_cache_close, wp_cache_set

Top Google Results

User discussions

wpseek mobile