mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
Delete all webhooks before adding
This commit is contained in:
parent
3d3fe37185
commit
4c59337247
4 changed files with 16 additions and 20 deletions
|
@ -152,7 +152,6 @@ class WebhookModule implements ModuleInterface {
|
|||
add_action(
|
||||
'init',
|
||||
function () use ( $registrar ) {
|
||||
$registrar->unregister();
|
||||
$registrar->register();
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue