File: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php
-
Retrieves the cache group used for cache operations, applying a filter for customization.
Used by 8 functions | Uses 1 function | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:39 -
Filters the cache group used by the WP AI Client cache adapter.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:51 -
Obtains multiple cache items by their unique keys.
Used by 0 functions | Uses 4 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:129 -
Persists a set of key => value pairs in the cache, with an optional TTL.
Used by 0 functions | Uses 4 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:160 -
Deletes multiple cache items in a single operation.
Used by 0 functions | Uses 3 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:177 -
Determines whether an item is present in the cache.
Used by 0 functions | Uses 2 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:193 -
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:208 -
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:231 -
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 2 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:63 -
Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.
Used by 0 functions | Uses 3 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:84 -
Delete an item from the cache by its unique key.
Used by 0 functions | Uses 2 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:98 -
Wipes clean the entire cache’s keys.
Used by 0 functions | Uses 3 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:112