File: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php
-
Obtains multiple cache items by their unique keys.
Used by 0 functions | Uses 3 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:107 -
Persists a set of key => value pairs in the cache, with an optional TTL.
Used by 0 functions | Uses 3 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:138 -
Deletes multiple cache items in a single operation.
Used by 0 functions | Uses 2 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:155 -
Determines whether an item is present in the cache.
Used by 0 functions | Uses 1 function | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:171 -
Converts a PSR-16 TTL value to seconds for WordPress cache functions.
Used by 2 functions | Uses 0 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:186 -
Converts an iterable to an array.
Used by 3 functions | Uses 0 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:209 -
Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.
Used by 0 functions | Uses 2 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:62 -
Delete an item from the cache by its unique key.
Used by 0 functions | Uses 1 function | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:76 -
Wipes clean the entire cache’s keys.
Used by 0 functions | Uses 2 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:90 -
classWP_AI_Client_Cache
WordPress-specific PSR-16 cache adapter for the AI Client.
Used by 0 functions | Uses 0 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:22 -
Fetches a value from the cache.
Used by 1 function | Uses 1 function | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:41