Changeset 2324940
- Timestamp:
- 06/16/2020 08:04:06 AM (6 years ago)
- Location:
- mobile-builder/trunk
- Files:
-
- 3 edited
-
api/class-mobile-builder-cart.php (modified) (1 diff)
-
includes/class-mobile-builder.php (modified) (1 diff)
-
mobile-builder.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mobile-builder/trunk/api/class-mobile-builder-cart.php
r2322821 r2324940 125 125 ) ); 126 126 127 register_rest_route( $this->namespace, 'auto-login', array( 128 'methods' => WP_REST_Server::READABLE, 129 'callback' => array( $this, 'auto_login' ), 130 'permission_callback' => array( $this, 'user_permissions_check' ), 131 ) ); 132 133 } 134 135 public function auto_login( $request ) { 136 137 $theme = $request->get_param( 'theme' ); 138 $currency = $request->get_param( 'currency' ); 139 140 wp_redirect( wc_get_checkout_url() . "?mobile=1&theme=$theme¤cy=$currency" ); 141 exit; 127 142 } 128 143 -
mobile-builder/trunk/includes/class-mobile-builder.php
r2322821 r2324940 254 254 255 255 /** 256 * Fil lter locate template256 * Filter locate template 257 257 * @since 1.2.0 258 258 */ 259 $this->loader->add_filter( 'woocommerce_locate_template', $plugin_public, 'woocommerce_locate_template', 100, 3 );259 // $this->loader->add_filter( 'woocommerce_locate_template', $plugin_public, 'woocommerce_locate_template', 100, 3 ); 260 260 261 261 /** -
mobile-builder/trunk/mobile-builder.php
r2322821 r2324940 11 11 * Plugin URI: https://doc-oreo.rnlab.io 12 12 * Description: The most advanced drag & drop app builder. Create multi templates and app controls. 13 * Version: 1.0. 113 * Version: 1.0.2 14 14 * Author: Rnlab.io 15 15 * Author URI: https://rnlab.io
Note: See TracChangeset
for help on using the changeset viewer.