Changeset 2525260
- Timestamp:
- 05/03/2021 12:59:10 PM (5 years ago)
- Location:
- convertful
- Files:
-
- 3 edited
-
tags/2.3/convertful.php (modified) (1 diff)
-
trunk/convertful.php (modified) (1 diff)
-
trunk/functions/woocommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
convertful/tags/2.3/convertful.php
r2525257 r2525260 3 3 /** 4 4 * Plugin Name: Convertful - Your Ultimate On-Site Conversion Tool 5 * Version: 2. 25 * Version: 2.3 6 6 * Plugin URI: https://convertful.com/ 7 7 * Description: All the modern on-site conversion solutions, natively integrates with all modern Email Marketing -
convertful/trunk/convertful.php
r2525257 r2525260 3 3 /** 4 4 * Plugin Name: Convertful - Your Ultimate On-Site Conversion Tool 5 * Version: 2. 25 * Version: 2.3 6 6 * Plugin URI: https://convertful.com/ 7 * Description: All the modern on-site conversion solutions, natively integrates with all modern Email Marketing Platforms. 8 * Author: Convertful 9 * Author URI: https://convertful.com 10 * License: GPLv2 or later 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 * Text Domain: convertful 7 * Description: All the modern on-site conversion solutions, natively integrates with all modern Email Marketing 8 * Platforms. Author: Convertful Author URI: https://convertful.com License: GPLv2 or later License URI: 9 * http://www.gnu.org/licenses/gpl-2.0.html Text Domain: convertful 13 10 */ 14 11 -
convertful/trunk/functions/woocommerce.php
r2486582 r2525260 4 4 5 5 add_action( 'rest_api_init', function () { 6 register_rest_route( 'convertful/v2', '/add_to_woo_cart/', [6 register_rest_route( 'convertful/v2', '/add_to_woo_cart/', array( 7 7 'methods' => 'POST', 8 8 'callback' => 'add_to_woo_cart', 9 9 'permission_callback' => '__return_true', 10 ]);11 register_rest_route( 'convertful/v2', '/add_woo_coupon/', [10 ) ); 11 register_rest_route( 'convertful/v2', '/add_woo_coupon/', array( 12 12 'methods' => 'POST', 13 13 'callback' => 'add_woo_coupon', 14 14 'permission_callback' => '__return_true', 15 ]);15 ) ); 16 16 }); 17 17 18 function get_woo_coupons()18 /*function get_woo_coupons() 19 19 { 20 20 $args = array( … … 34 34 35 35 return $coupon_names; 36 } 36 }*/ 37 37 38 38 function get_woo_products()
Note: See TracChangeset
for help on using the changeset viewer.