ai_seo_enhancer_enabled

ai_seo_enhancer_enabled

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.0

apply_filters('ai_seo_enhancer_enabled') is found 2 times:

  • /_inc/lib/class.core-rest-api-endpoints.php line 3106
     
    		// SEO Tools - SEO Enhancer.
    		// TODO: move this to the main options array? The filter was there while developing the feature.
    		// It might come in handy to hold its availability behind the filter since it still depends on AI to be available.
    		if ( apply_filters( 'ai_seo_enhancer_enabled', true ) ) {
    			$options['ai_seo_enhancer_enabled'] = array(
    				'description'       => esc_html__( 'Automatically generate SEO title, SEO description, and image alt text for new posts.', 'jetpack' ),
    				'type'              => 'boolean',
    				'default'           => 0,
    				'validate_callback' => __CLASS__ . '::validate_boolean',
    				'jp_group'          => 'seo-tools',
    
  • /extensions/blocks/ai-assistant/ai-assistant.php line 85
    			if ( apply_filters( 'breve_enabled', true ) ) {
    				Jetpack_Gutenberg::set_extension_available( 'ai-proofread-breve' );
    			}
    
    			if ( apply_filters( 'ai_seo_enhancer_enabled', true ) ) {
    				Jetpack_Gutenberg::set_availability_for_plan( 'ai-seo-enhancer' );
    			}
    		}
    	}
    );