Filters ability domain keywords exposed to the browser runtime.
These domains help the assistant route plugin-specific topics to the ability tool instead of generic file or database inspection.
ability
add_filter( 'ai_assistant_ability_domains', function ( $domains ) { $domains['my-plugin'] = 'invoices, billing, payments, clients'; return $domains; } );
array<string,string>
$domains
array<string,string> The filtered domains map.
apply_filters('ai_assistant_ability_domains', [])
← All Hooks
There was an error while loading. Please reload this page.