- added debug function

- fixed issues in acf fields use
This commit is contained in:
asus
2024-03-10 11:13:44 +01:00
parent f3a9be5a89
commit faefa98114
17 changed files with 135 additions and 106 deletions

View File

@@ -11,8 +11,8 @@ if (!defined('ABSPATH')) {
// handling routes and endpoints
// diff routes and endpoints : https://stackoverflow.com/q/56075017/9497573
function routes_endpoints_CIPF()
{
function routes_endpoints_CIPF() {
PLGNTLS_class::debug_infos();
$base_rest_route = "cipf_plugin/api/v1";
register_rest_route($base_rest_route, '/orders', array(
'methods' => 'POST',