WordPress\AiClient
AiClient::getCache
Gets the PSR-16 cache instance.
Метод класса: AiClient{}
Хуков нет.
Возвращает
CacheInterface|null. The cache instance, or null if not set.
Использование
$result = AiClient::getCache(): ?CacheInterface;
Список изменений
| С версии 0.4.0 | Введена. |
Код AiClient::getCache() AiClient::getCache WP 7.0
public static function getCache(): ?CacheInterface
{
return self::$cache;
}