comment function used for testing

This commit is contained in:
GotPPay
2018-08-15 22:19:05 +02:00
parent 54e6495795
commit 906725f5c5

View File

@@ -37,6 +37,10 @@ class Wiass_REST_Delivery_Process_API {
'callback' => array(__CLASS__, 'get_customer_acceptance'),
) );
/*
Used for some fast test and check
register_rest_route( self::$namespace, 'gravity-form-entry/(?P<entry_id>\d+)', array(
'methods' => 'GET',
'callback' => array(__CLASS__, 'get_form_entry'),
@@ -48,6 +52,8 @@ class Wiass_REST_Delivery_Process_API {
'callback' => array(__CLASS__, 'update_entry'),
) );
*/
register_rest_route( self::$namespace, 'customer-acceptance/(?P<entry_id>\d+)', array(
'methods' => 'POST',