Changeset 3000346
- Timestamp:
- 11/22/2023 08:00:20 PM (2 years ago)
- Location:
- impact-partnership-cloud
- Files:
-
- 3 edited
- 4 copied
-
tags/1.0.24 (copied) (copied from impact-partnership-cloud/trunk)
-
tags/1.0.24/changelog.txt (copied) (copied from impact-partnership-cloud/trunk/changelog.txt) (1 diff)
-
tags/1.0.24/impact.php (copied) (copied from impact-partnership-cloud/trunk/impact.php) (4 diffs)
-
tags/1.0.24/readme.txt (copied) (copied from impact-partnership-cloud/trunk/readme.txt) (1 diff)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/impact.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
impact-partnership-cloud/tags/1.0.24/changelog.txt
r2999802 r3000346 1 1 *** Impact Partnership Cloud *** 2 3 2023-11-22 - version 1.0.24 4 * Tweak - leverage metadata addition to the woocommerce_before_order_object_save hook 2 5 3 6 2023-11-21 - version 1.0.23 -
impact-partnership-cloud/tags/1.0.24/impact.php
r2999802 r3000346 3 3 * Plugin Name: Impact: Partnership Cloud 4 4 * Description: Partnership cloud app plugin for Woocomerce that tracks every conversion made trough one of Impact's referral links. 5 * Version: 1.0.2 35 * Version: 1.0.24 6 6 * Requires at least: 5.0 7 7 * Requires PHP: 7.0 … … 31 31 * @var string 32 32 */ 33 private $version = '1.0.2 3';33 private $version = '1.0.24'; 34 34 /** 35 35 * Singleton instance of the plugin … … 60 60 add_action( 'add_option_impact_settings_option_name', array( $this, 'impact_hook_existing_user' ), 10, 2 ); 61 61 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 ); 64 63 add_action( 'activated_plugin', array( $this, 'impact_activate' ) ); 65 64 add_action( 'wp_head', array( $this, 'impact_enqueue_default_script' ) ); … … 800 799 * @param mixed $order order to be saved. 801 800 */ 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 ); 804 803 } 805 804 -
impact-partnership-cloud/tags/1.0.24/readme.txt
r2999802 r3000346 4 4 Tested up to: 6.4 5 5 Requires PHP: 7.0 6 Stable tag: 1.0.2 36 Stable tag: 1.0.24 7 7 License: GPLv2 or later License 8 8 URI: http://www.gnu.org/licenses/gpl-2.0.html -
impact-partnership-cloud/trunk/changelog.txt
r2999802 r3000346 1 1 *** Impact Partnership Cloud *** 2 3 2023-11-22 - version 1.0.24 4 * Tweak - leverage metadata addition to the woocommerce_before_order_object_save hook 2 5 3 6 2023-11-21 - version 1.0.23 -
impact-partnership-cloud/trunk/impact.php
r2999802 r3000346 3 3 * Plugin Name: Impact: Partnership Cloud 4 4 * Description: Partnership cloud app plugin for Woocomerce that tracks every conversion made trough one of Impact's referral links. 5 * Version: 1.0.2 35 * Version: 1.0.24 6 6 * Requires at least: 5.0 7 7 * Requires PHP: 7.0 … … 31 31 * @var string 32 32 */ 33 private $version = '1.0.2 3';33 private $version = '1.0.24'; 34 34 /** 35 35 * Singleton instance of the plugin … … 60 60 add_action( 'add_option_impact_settings_option_name', array( $this, 'impact_hook_existing_user' ), 10, 2 ); 61 61 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 ); 64 63 add_action( 'activated_plugin', array( $this, 'impact_activate' ) ); 65 64 add_action( 'wp_head', array( $this, 'impact_enqueue_default_script' ) ); … … 800 799 * @param mixed $order order to be saved. 801 800 */ 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 ); 804 803 } 805 804 -
impact-partnership-cloud/trunk/readme.txt
r2999802 r3000346 4 4 Tested up to: 6.4 5 5 Requires PHP: 7.0 6 Stable tag: 1.0.2 36 Stable tag: 1.0.24 7 7 License: GPLv2 or later License 8 8 URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.