Plugin Directory

Changeset 2345244


Ignore:
Timestamp:
07/23/2020 08:46:39 AM (6 years ago)
Author:
rnlab
Message:

Fix get products

Location:
mobile-builder/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mobile-builder/trunk/mobile-builder.php

    r2344460 r2345244  
    1111 * Plugin URI:        https://doc-oreo.rnlab.io
    1212 * Description:       The most advanced drag & drop app builder. Create multi templates and app controls.
    13  * Version:           1.1.0
     13 * Version:           1.1.1
    1414 * Author:            Rnlab.io
    1515 * Author URI:        https://rnlab.io
  • mobile-builder/trunk/product/class-mobile-builder-product.php

    r2344460 r2345244  
    7777            'permission_callback' => array( $products, 'get_items_permissions_check' ),
    7878        ) );
    79         register_rest_route(  'wc/v3/products', '/(?P<product_id>[a-zA-Z0-9-]+)/variable', array(
    80             'methods' => 'GET',
     79
     80        register_rest_route( $namespace, 'variable/(?P<product_id>[a-zA-Z0-9-]+)', array(
     81            'methods'  => 'GET',
    8182            'callback' => array( $this, 'product_get_all_variable_data' )
    82         ));
     83        ) );
    8384
    8485    }
Note: See TracChangeset for help on using the changeset viewer.