Filters the cache group used by the WP AI Client cache adapter.
Description
Allows integrators to change the object cache group under which AI client items are stored. This is useful for avoiding key collisions, creating environment-specific caches, or adapting to backend constraints.
Parameters
$groupstring- The cache group.
Source
return (string) apply_filters( 'wp_ai_client_cache_group', self::CACHE_GROUP );
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.