WordPress\AiClient
AiClient::getCache
Gets the PSR-16 cache instance.
Method of the class: AiClient{}
No Hooks.
Returns
CacheInterface|null. The cache instance, or null if not set.
Usage
$result = AiClient::getCache(): ?CacheInterface;
Changelog
| Since 0.4.0 | Introduced. |
AiClient::getCache() AiClient::getCache code WP 7.0
public static function getCache(): ?CacheInterface
{
return self::$cache;
}