Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_cache_delete ›

Da2.0.0
Deprecaton/a
wp_cache_delete ( $key, $group = '' )
Parametri: (2)
  • (int|string) $key What the contents in the cache are called.
    Richiesto:
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Richiesto: No
    Default: (vuoto)
Vedi:
  • WP_Object_Cache::delete()
Ritorna:
  • (bool) True on successful removal, false on failure.
Definito a:
Codex:

Removes the cache contents matching key and group.



Sorgenti

function wp_cache_delete( $key, $group = '' ) {
	global $wp_object_cache;

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