comment function used for testing
This commit is contained in:
@@ -37,6 +37,10 @@ class Wiass_REST_Delivery_Process_API {
|
|||||||
'callback' => array(__CLASS__, 'get_customer_acceptance'),
|
'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(
|
register_rest_route( self::$namespace, 'gravity-form-entry/(?P<entry_id>\d+)', array(
|
||||||
'methods' => 'GET',
|
'methods' => 'GET',
|
||||||
'callback' => array(__CLASS__, 'get_form_entry'),
|
'callback' => array(__CLASS__, 'get_form_entry'),
|
||||||
@@ -48,6 +52,8 @@ class Wiass_REST_Delivery_Process_API {
|
|||||||
'callback' => array(__CLASS__, 'update_entry'),
|
'callback' => array(__CLASS__, 'update_entry'),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
register_rest_route( self::$namespace, 'customer-acceptance/(?P<entry_id>\d+)', array(
|
register_rest_route( self::$namespace, 'customer-acceptance/(?P<entry_id>\d+)', array(
|
||||||
'methods' => 'POST',
|
'methods' => 'POST',
|
||||||
|
|||||||
Reference in New Issue
Block a user