wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_ai_client_cache_group › WordPress过滤钩子

Since7.1.0
已弃用n/a
› apply_filters( 'wp_ai_client_cache_group', self::CACHE_GROUP )
参数:
  • () group The cache group.
    Required: Yes
定义在:
文档:

Filters the cache group used by the WP AI Client cache adapter.

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.




源码

return (string) apply_filters( 'wp_ai_client_cache_group', self::CACHE_GROUP );