Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_custom_deal_properties( $deal, $order_id ) {
- $deal['properties'][] = array(
- 'name' => 'woocommerce_link',
- 'value' => admin_url( 'post.php?post=' . $order_id . '&action=edit' ),
- );
- return $deal;
- }
- add_filter( 'wpf_ecommerce_hubspot_add_deal', 'my_custom_deal_properties', 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement