wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_cache_delete › WordPress Function

Depuis2.0.0
Dépréciéen/a
wp_cache_delete ( $key, $group = '' )
Paramètres: (2)
  • (int|string) $key What the contents in the cache are called.
    Requis: Oui
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Requis: Non
    Défaut: (vide)
Voir:
  • WP_Object_Cache::delete()
Retourne:
  • (bool) True on successful removal, false on failure.
Défini(e) dans:
Codex:

Removes the cache contents matching key and group.



Source

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

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