Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_cache_delete ›

Desde2.0.0
Obsoleton/a
wp_cache_delete ( $key, $group = '' )
Parâmetros: (2)
  • (int|string) $key What the contents in the cache are called.
    Required: Yes
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Required: No
    Padrão: (empty)
Ver:
  • WP_Object_Cache::delete()
Retorna:
  • (bool) True on successful removal, false on failure.
Definido em:
Codex:

Removes the cache contents matching key and group.



Fonte

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

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