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



wp_cache_delete › WordPress Function

Since2.0.0
Deprecatedn/a
wp_cache_delete ( $key, $group = '' )
Parameters: (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
    Default: (empty)
See:
  • WP_Object_Cache::delete()
Returns:
  • (bool) True on successful removal, false on failure.
Defined at:
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 );
}