diff --git a/bootstrap.php b/bootstrap.php index 330f484bc..400d36628 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -204,6 +204,7 @@ function () { require BLUEHOST_PLUGIN_DIR . '/inc/RestApi/rest-api.php'; require BLUEHOST_PLUGIN_DIR . '/inc/settings.php'; require BLUEHOST_PLUGIN_DIR . '/inc/updates.php'; +require BLUEHOST_PLUGIN_DIR . '/inc/YoastAI.php'; /* WordPress Admin Page & Features */ if ( is_admin() ) { diff --git a/inc/YoastAI.php b/inc/YoastAI.php new file mode 100644 index 000000000..f16dc2541 --- /dev/null +++ b/inc/YoastAI.php @@ -0,0 +1,65 @@ +helpers->options->get( 'enable_ai_generator', null ) !== null ) { + yoastseo()->helpers->options->set( 'enable_ai_generator', true ); + } +}