ai_chrome_ai_enabled

ai_chrome_ai_enabled

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.5

apply_filters('ai_chrome_ai_enabled') is found 1 times:

  • /extensions/blocks/ai-assistant/ai-assistant.php line 192
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    add_action(
        'jetpack_register_gutenberg_extensions',
        function () {
            if ( apply_filters( 'jetpack_ai_enabled', true ) &&
                apply_filters( 'ai_chrome_ai_enabled', false )
            ) {
                \Jetpack_Gutenberg::set_extension_available( 'ai-use-chrome-ai-sometimes' );
                add_chrome_ai_token_headers();
            }
        }
    );