mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-10 11:32:54 +00:00
2.4.5
This commit is contained in:

committed by
Remco Tolsma

parent
37367ac369
commit
721dda6e5c
3
includes/class-wcs-webhooks.php
Executable file → Normal file
3
includes/class-wcs-webhooks.php
Executable file → Normal file
@@ -139,8 +139,6 @@ class WCS_Webhooks {
|
||||
break;
|
||||
case 'wp_api_v1':
|
||||
case 'wp_api_v2':
|
||||
require_once( 'api/class-wc-rest-subscriptions-controller.php' );
|
||||
|
||||
$request = new WP_REST_Request( 'GET' );
|
||||
$controller = new WC_REST_Subscriptions_Controller;
|
||||
|
||||
@@ -214,4 +212,3 @@ class WCS_Webhooks {
|
||||
}
|
||||
|
||||
}
|
||||
WCS_Webhooks::init();
|
||||
|
Reference in New Issue
Block a user