+
+ { __(
+ 'The Smart 404 Feature requires the ElasticPress plugin to be installed and active prior to use.',
+ 'classifai'
+ ) }
+
+
+);
+
/**
* Feature Settings component.
*
@@ -83,6 +98,14 @@ export const FeatureSettings = ( { onSaveSuccess = () => {} } ) => {
);
}
+ // Show ElasticPress required notice if the feature is Smart 404 and ElasticPress is not active.
+ if (
+ 'feature_smart_404' === featureName &&
+ ! window.classifAISettings?.isEPinstalled
+ ) {
+ return