Plugin Directory

Changeset 2525260


Ignore:
Timestamp:
05/03/2021 12:59:10 PM (5 years ago)
Author:
rsukhar
Message:

BugFixes

Location:
convertful
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • convertful/tags/2.3/convertful.php

    r2525257 r2525260  
    33/**
    44 * Plugin Name: Convertful - Your Ultimate On-Site Conversion Tool
    5  * Version: 2.2
     5 * Version: 2.3
    66 * Plugin URI: https://convertful.com/
    77 * Description: All the modern on-site conversion solutions, natively integrates with all modern Email Marketing
  • convertful/trunk/convertful.php

    r2525257 r2525260  
    33/**
    44 * Plugin Name: Convertful - Your Ultimate On-Site Conversion Tool
    5  * Version: 2.2
     5 * Version: 2.3
    66 * 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
    1310 */
    1411
  • convertful/trunk/functions/woocommerce.php

    r2486582 r2525260  
    44
    55add_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(
    77        'methods'  => 'POST',
    88        'callback' => 'add_to_woo_cart',
    99        '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(
    1212        'methods'  => 'POST',
    1313        'callback' => 'add_woo_coupon',
    1414        'permission_callback' => '__return_true',
    15     ]);
     15    ) );
    1616});
    1717
    18 function get_woo_coupons()
     18/*function get_woo_coupons()
    1919{
    2020    $args = array(
     
    3434
    3535    return $coupon_names;
    36 }
     36}*/
    3737
    3838function get_woo_products()
Note: See TracChangeset for help on using the changeset viewer.