This commit is contained in:
Prospress Inc
2018-12-12 14:48:11 +01:00
committed by Remco Tolsma
parent 37367ac369
commit 721dda6e5c
340 changed files with 5114 additions and 2125 deletions

3
includes/class-wcs-webhooks.php Executable file → Normal file
View 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();