Switch language

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




wp_cache_delete [ WordPress Function ]

wp_cache_delete ( $key, $group = '' )
Parameters:
  • (int|string) $key What the contents in the cache are called
  • (string) $group Where the cache contents are grouped
Uses:
  • $wp_object_cache
See:
  • WP_Object_Cache::delete()
Returns:
  • (bool) True on successful removal, false on failure
Defined at:



Removes the cache contents matching key and group.

Source


<?php
function wp_cache_delete($key$group '') {
    global 
$wp_object_cache;

    return 
$wp_object_cache->delete($key$group);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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