Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_cache_decr [ WordPress Function ]

wp_cache_decr ( $key, $offset = 1, $group = '' )
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.
Uses:
  • $wp_object_cache
See:
  • WP_Object_Cache::decr()
Returns:
  • (false|int) False on failure, the item's new value on success.
Defined at:



Decrement numeric cache item's value

Source


<?php
function wp_cache_decr$key$offset 1$group '' ) {
    global 
$wp_object_cache;

    return 
$wp_object_cache->decr$key$offset$group );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics