wp-includes/ai-client/adapters/class-wp-ai-client-cache.php:39Retrieves the cache group used for cache operations, applying a filter for customization.
stringOne hook fires while WP_AI_Client_Cache::get_cache_group() runs, in this order:
Filters the cache group used by the WP AI Client cache adapter.
private function get_cache_group(): string { /** * 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. * * @since 7.1.0 * * @param string $group The cache group. */ return (string) apply_filters( 'wp_ai_client_cache_group', self::CACHE_GROUP ); }Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/ai-client/adapters/class-wp-ai-client-cache.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.