diff --git a/src/Admin/Suggestions.php b/src/Admin/Suggestions.php index bc2a722..898c1d8 100644 --- a/src/Admin/Suggestions.php +++ b/src/Admin/Suggestions.php @@ -110,7 +110,7 @@ public function suggest_inspector_deactivation(): void { $notification_id = 'gtmkit-event-inspector'; - if ( $this->options->get( 'general', 'event_inspector' ) === false || ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE === 'xlocal' ) ) { + if ( $this->options->get( 'general', 'event_inspector' ) === false || ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE === 'local' ) ) { $this->notifications_handler->remove_notification_by_id( $notification_id ); return; }