Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Dec 20, 2024
1 parent 97e8f99 commit 68a51ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ public static function sdk_hide_promo_notice() {
if ( self::$_instance->admin->settings->is_connected() ) {
$service_data = self::$_instance->admin->settings->get( 'service_data' );
if ( isset( $service_data['plan'] ) && 'free' !== $service_data['plan'] ) {
return false;
return true;
}
}
return true;
return false;
}
}

0 comments on commit 68a51ed

Please sign in to comment.