Changeset 701567
- Timestamp:
- 04/22/2013 01:05:20 PM (13 years ago)
- Location:
- premise-idevaffiliate-integration/trunk
- Files:
-
- 2 edited
-
premise-idevaffiliate.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
premise-idevaffiliate-integration/trunk/premise-idevaffiliate.php
r665536 r701567 4 4 Plugin URI: http://www.eugenoprea.com/wordpress-plugins/premise-idevaffiliate-integration/?utm_source=wp_admin&utm_medium=plugin&utm_campaign=premise_idevaffiliate_integration 5 5 Description: Integrates Premise with iDevAffiliate to help you start your affiliate program. It passes the order details and if you activate Optional Variables it will also pass the customer name, email address and the purchased product to iDevAffiliate. 6 Version: 1.0 6 Version: 1.0.1 7 7 Author: Eugen Oprea 8 8 Author URI: http://www.eugenoprea.com/?utm_source=wp_admin&utm_medium=plugin&utm_campaign=premise_idevaffiliate_integration … … 34 34 35 35 if (isset($this->options['enabled']) && $this->options['enabled']) { 36 add_action('premise_membership_create_order', array($this, 'get_order_data'), 10, 4);36 add_action('premise_membership_create_order', array($this, 'get_order_data'), 10, 3); 37 37 add_action('premise_checkout_complete_after', array($this, 'track'), 10); 38 38 } … … 46 46 } 47 47 48 function get_order_data($member_id, $order_details, $renewal , $order_id) {48 function get_order_data($member_id, $order_details, $renewal) { 49 49 $this->order_data = array( 50 'ordernum' => get_the_title($order_id),50 'ordernum' => $order_details['_acp_order_time'], 51 51 'salemt' => $order_details['_acp_order_price'] ? $order_details['_acp_order_price'] : 0, 52 52 ); -
premise-idevaffiliate-integration/trunk/readme.txt
r665536 r701567 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5.1 7 Stable tag: 1.0 7 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 44 44 == Changelog == 45 45 46 = 1.0.1 = 47 Remove deprecated 4th argument of premise_membership_create_order action 48 46 49 = 1.0 = 47 50
Note: See TracChangeset
for help on using the changeset viewer.