jetpack_ai_enabled
jetpack_ai_enabled
Appears in: jetpack.11.8, jetpack.11.8.4, jetpack.11.9, jetpack.11.9.1, jetpack.12.0, jetpack.12.1, jetpack.12.1.1, jetpack.12.2.1, jetpack.12.3, jetpack.12.5, jetpack.12.6, jetpack.12.6.1, jetpack.12.7.1, jetpack.12.8, jetpack.12.8.1, jetpack.12.9, jetpack.12.9.3, jetpack.13.0, jetpack.13.1.1, jetpack.13.1.3, jetpack.13.2, jetpack.13.2.1
Hook Type: filter
Displaying hooks found in version: jetpack.13.2.1apply_filters('jetpack_ai_enabled') is found 10 times:
- /_inc/lib/class-jetpack-ai-helper.php line 94
* @since 11.8 * * @param bool $default Are AI features enabled? Defaults to false. */ return apply_filters( 'jetpack_ai_enabled', $default ); } /** * Return true if the AI chat feature should be active on the current site. * * @todo IS_WPCOM (the endpoints need to be updated too).
- /class.jetpack-gutenberg.php line 709
wp_enqueue_style( 'recoleta-font', '//s1.wp.com/i/fonts/recoleta/css/400.min.css', array(), Constants::get_constant( 'JETPACK__VERSION' ) ); } // AI Assistant $ai_assistant_state = array( 'is-enabled' => apply_filters( 'jetpack_ai_enabled', true ), 'is-playground-visible' => Constants::is_true( 'JETPACK_AI_ASSISTANT_PLAYGROUND' ), ); $screen_base = null; if ( function_exists( 'get_current_screen' ) ) { $screen_base = get_current_screen()->base;
- /extensions/blocks/ai-assistant/ai-assistant.php line 26
function register_block() { if ( ( ( new Host() )->is_wpcom_simple() || ! ( new Status() )->is_offline_mode() ) && apply_filters( 'jetpack_ai_enabled', true ) ) { Blocks::jetpack_register_block( __DIR__, array( 'render_callback' => __NAMESPACE__ . '\load_assets' ) ); }
- /extensions/blocks/ai-assistant/ai-assistant.php line 63
*/ add_action( 'jetpack_register_gutenberg_extensions', function () { if ( apply_filters( 'jetpack_ai_enabled', true ) ) { \Jetpack_Gutenberg::set_extension_available( 'ai-assistant-support' ); } } ); /**
- /extensions/blocks/ai-assistant/ai-assistant.php line 75
*/ add_action( 'jetpack_register_gutenberg_extensions', function () { if ( apply_filters( 'jetpack_ai_enabled', true ) ) { \Jetpack_Gutenberg::set_extension_available( 'ai-assistant-form-support' ); } } ); /**
- /extensions/blocks/ai-assistant/ai-assistant.php line 87
*/ add_action( 'jetpack_register_gutenberg_extensions', function () { if ( apply_filters( 'jetpack_ai_enabled', true ) ) { \Jetpack_Gutenberg::set_extension_available( 'ai-content-lens' ); } } ); /**
- /extensions/blocks/ai-assistant/ai-assistant.php line 99
*/ add_action( 'jetpack_register_gutenberg_extensions', function () { if ( apply_filters( 'jetpack_ai_enabled', true ) ) { \Jetpack_Gutenberg::set_extension_available( 'ai-assistant-backend-prompts' ); } } ); /**
- /extensions/blocks/ai-assistant/ai-assistant.php line 111
*/ add_action( 'jetpack_register_gutenberg_extensions', function () { if ( apply_filters( 'jetpack_ai_enabled', true ) ) { \Jetpack_Gutenberg::set_extension_available( 'ai-assistant-usage-panel' ); } } ); /**
- /extensions/blocks/ai-assistant/ai-assistant.php line 123
Warning: Undefined array key 127 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 128 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
*/ add_action( 'jetpack_register_gutenberg_extensions', function () { if ( apply_filters( 'jetpack_ai_enabled', true ) ) { \Jetpack_Gutenberg::set_extension_available( 'ai-logo-generator' ); } } );
- /extensions/plugins/ai-assistant-plugin/ai-assistant-plugin.php line 31
( new Host() )->is_wpcom_simple() || ( ( new Connection_Manager( 'jetpack' ) )->has_connected_owner() && ! ( new Status() )->is_offline_mode() ) && apply_filters( 'jetpack_ai_enabled', true ) ) { // Register AI assistant plugin. \Jetpack_Gutenberg::set_extension_available( FEATURE_NAME ); } } add_action( 'jetpack_register_gutenberg_extensions', __NAMESPACE__ . '\register_plugin' );