diff --git a/src/EventManager.php b/src/EventManager.php index c1fa2cc..68c4d57 100644 --- a/src/EventManager.php +++ b/src/EventManager.php @@ -21,6 +21,7 @@ class EventManager { '\\NewfoldLabs\\WP\\Module\\Data\\Listeners\\BluehostPlugin', '\\NewfoldLabs\\WP\\Module\\Data\\Listeners\\SiteHealth', '\\NewfoldLabs\\WP\\Module\\Data\\Listeners\\Theme', + '\\NewfoldLabs\\WP\\Module\\Data\\Listeners\\Yith', ); /** diff --git a/src/Listeners/Yith.php b/src/Listeners/Yith.php new file mode 100644 index 0000000..31128a8 --- /dev/null +++ b/src/Listeners/Yith.php @@ -0,0 +1,40 @@ +push( + 'yith_payment_connected', + array( + 'provider' => 'paypal' + ) + ); + } + + return $new_option; + } +}