add customer class and endpoint
This commit is contained in:
@@ -38,6 +38,9 @@ class Wiaas_API {
|
||||
#User controller
|
||||
include_once dirname( __FILE__ ) . '/api/class-wiaas-rest-user-api.php';
|
||||
|
||||
#Customer controller
|
||||
include_once dirname( __FILE__ ) . '/api/class-wiaas-rest-customer.php';
|
||||
|
||||
}
|
||||
|
||||
public static function register_rest_routes() {
|
||||
@@ -45,7 +48,8 @@ class Wiaas_API {
|
||||
'Wiass_REST_Delivery_Process_API',
|
||||
'Wiaas_Cart_API',
|
||||
'Wiaas_Document_API',
|
||||
'Wiass_REST_User_API'
|
||||
'Wiass_REST_User_API',
|
||||
'Wiaas_REST_Customer_API'
|
||||
);
|
||||
|
||||
foreach ( $controllers as $controller ) {
|
||||
|
||||
Reference in New Issue
Block a user