Skip to content

Commit f712195

Browse files
committed
fix: update the filter hook comment
1 parent 271778f commit f712195

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/wp-includes/ai-client/adapters/class-wp-ai-client-cache.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ class WP_AI_Client_Cache implements CacheInterface {
3838
*/
3939
private function get_cache_group(): string {
4040
/**
41-
* Filter the cache group used by the WP AI Client cache adapter.
41+
* Filters the cache group used by the WP AI Client cache adapter.
4242
*
4343
* Allows integrators to change the object cache group under which AI client
44-
* items are stored.
44+
* items are stored. This is useful for avoiding key collisions, creating
45+
* environment-specific caches, or adapting to backend constraints.
4546
*
4647
* @since 7.1.0
4748
*

0 commit comments

Comments
 (0)