- updated all occurences of Plgntls:: constantes for Cipf:: const

- update menu to use the new methods
This commit is contained in:
asus
2024-04-02 15:45:54 +02:00
parent 64dc0ffbc5
commit 1f5fff26d6
25 changed files with 404 additions and 549 deletions

View File

@@ -16,7 +16,7 @@ function routes_endpoints_CIPF() {
if (is_admin()) {
return;
}
$base_rest_route = Plgntls::URL_BASE_REST_ROUTE;
$base_rest_route = Cipf::URL_BASE_REST_ROUTE;
register_rest_route($base_rest_route, '/orders', array(
'methods' => 'POST',
'callback' => 'handle_orders_request_CIPF',