WordPress\AiClientDependencies\Psr\SimpleCache
CacheInterface::get
Fetches a value from the cache.
Method of the class: CacheInterface{}
No Hooks.
Returns
Mixed. The value of the item from the cache, or $default in case of cache miss.
Usage
$CacheInterface = new CacheInterface(); $CacheInterface->get( $key, $default );
- $key(string) (required)
- The unique key of this item in the cache.
- $default(mixed)
- Default value to return if the key does not exist.
Default:null
CacheInterface::get() CacheInterface::get code WP 7.0
public function get($key, $default = null);