diff --git a/src/Listeners/Yith.php b/src/Listeners/Yith.php index ad1bf87..31128a8 100644 --- a/src/Listeners/Yith.php +++ b/src/Listeners/Yith.php @@ -20,8 +20,8 @@ public function register_hooks() { /** * PayPal connected * - * @param string $new_option New value of the yith_ppwc_merchant_data_production option - * @param string $old_option Old value of the yith_ppwc_merchant_data_production option + * @param string $new_option New value of the yith_ppwc_merchant_data_production option + * @param string $old_option Old value of the yith_ppwc_merchant_data_production option * * @return string The new option value */ @@ -34,6 +34,7 @@ public function paypal_connection( $new_option, $old_option ) { ) ); } + return $new_option; } }