Plugin Directory

Changeset 3000346


Ignore:
Timestamp:
11/22/2023 08:00:20 PM (2 years ago)
Author:
impacttechpartners
Message:

update 1.0.24

Location:
impact-partnership-cloud
Files:
3 edited
4 copied

Legend:

Unmodified
Added
Removed
  • impact-partnership-cloud/tags/1.0.24/changelog.txt

    r2999802 r3000346  
    11*** Impact Partnership Cloud ***
     2
     32023-11-22 - version 1.0.24
     4 * Tweak - leverage metadata addition to the woocommerce_before_order_object_save hook
    25
    362023-11-21 - version 1.0.23
  • impact-partnership-cloud/tags/1.0.24/impact.php

    r2999802 r3000346  
    33 * Plugin Name:       Impact: Partnership Cloud
    44 * Description:       Partnership cloud app plugin for Woocomerce that tracks every conversion made trough one of Impact's referral links.
    5  * Version:           1.0.23
     5 * Version:           1.0.24
    66 * Requires at least: 5.0
    77 * Requires PHP:      7.0
     
    3131     * @var string
    3232     */
    33     private $version = '1.0.23';
     33    private $version = '1.0.24';
    3434    /**
    3535     * Singleton instance of the plugin
     
    6060        add_action( 'add_option_impact_settings_option_name', array( $this, 'impact_hook_existing_user' ), 10, 2 );
    6161        add_action( 'update_option_impact_settings_option_name', array( $this, 'impact_hook_save_options' ), 10, 2 );
    62         add_action( 'woocommerce_checkout_create_order', array( $this, 'before_checkout_create_order' ), 20, 2 );
    63         add_action( 'woocommerce_store_api_checkout_update_order_meta', array( $this, 'add_metadata_to_api_order' ), 10, 1 );
     62        add_action( 'woocommerce_before_order_object_save', array( $this, 'add_metadata_before_order_save' ), 10, 2 );
    6463        add_action( 'activated_plugin', array( $this, 'impact_activate' ) );
    6564        add_action( 'wp_head', array( $this, 'impact_enqueue_default_script' ) );
     
    800799     * @param mixed $order order to be saved.
    801800     */
    802     public function add_metadata_to_api_order($order) {
    803         $this->before_checkout_create_order($order, null);
     801    public function add_metadata_before_order_save( $order ) {
     802        $this->before_checkout_create_order( $order, null );
    804803    }
    805804
  • impact-partnership-cloud/tags/1.0.24/readme.txt

    r2999802 r3000346  
    44Tested up to: 6.4
    55Requires PHP: 7.0
    6 Stable tag: 1.0.23
     6Stable tag: 1.0.24
    77License: GPLv2 or later License
    88URI: http://www.gnu.org/licenses/gpl-2.0.html
  • impact-partnership-cloud/trunk/changelog.txt

    r2999802 r3000346  
    11*** Impact Partnership Cloud ***
     2
     32023-11-22 - version 1.0.24
     4 * Tweak - leverage metadata addition to the woocommerce_before_order_object_save hook
    25
    362023-11-21 - version 1.0.23
  • impact-partnership-cloud/trunk/impact.php

    r2999802 r3000346  
    33 * Plugin Name:       Impact: Partnership Cloud
    44 * Description:       Partnership cloud app plugin for Woocomerce that tracks every conversion made trough one of Impact's referral links.
    5  * Version:           1.0.23
     5 * Version:           1.0.24
    66 * Requires at least: 5.0
    77 * Requires PHP:      7.0
     
    3131     * @var string
    3232     */
    33     private $version = '1.0.23';
     33    private $version = '1.0.24';
    3434    /**
    3535     * Singleton instance of the plugin
     
    6060        add_action( 'add_option_impact_settings_option_name', array( $this, 'impact_hook_existing_user' ), 10, 2 );
    6161        add_action( 'update_option_impact_settings_option_name', array( $this, 'impact_hook_save_options' ), 10, 2 );
    62         add_action( 'woocommerce_checkout_create_order', array( $this, 'before_checkout_create_order' ), 20, 2 );
    63         add_action( 'woocommerce_store_api_checkout_update_order_meta', array( $this, 'add_metadata_to_api_order' ), 10, 1 );
     62        add_action( 'woocommerce_before_order_object_save', array( $this, 'add_metadata_before_order_save' ), 10, 2 );
    6463        add_action( 'activated_plugin', array( $this, 'impact_activate' ) );
    6564        add_action( 'wp_head', array( $this, 'impact_enqueue_default_script' ) );
     
    800799     * @param mixed $order order to be saved.
    801800     */
    802     public function add_metadata_to_api_order($order) {
    803         $this->before_checkout_create_order($order, null);
     801    public function add_metadata_before_order_save( $order ) {
     802        $this->before_checkout_create_order( $order, null );
    804803    }
    805804
  • impact-partnership-cloud/trunk/readme.txt

    r2999802 r3000346  
    44Tested up to: 6.4
    55Requires PHP: 7.0
    6 Stable tag: 1.0.23
     6Stable tag: 1.0.24
    77License: GPLv2 or later License
    88URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.