wp_cache_delete() – Removes the cache contents matching key and group.

You appear to be a bot. Output may be restricted

Description

Removes the cache contents matching key and group.

Usage

$bool = wp_cache_delete( $key, $group );

Parameters

$key
( int|string ) required – What the contents in the cache are called.
$group
( string ) optional – Optional. Where the cache contents are grouped. Default empty.

Returns

bool True on successful removal, false on failure.

Source

File name: wordpress/wp-includes/cache.php
Lines:

1 to 5 of 5
function wp_cache_delete( $key, $group = '' ) {
  global $wp_object_cache;

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

 View on GitHub View on Trac