Advertisement
verygoodplugins

Untitled

Oct 12th, 2020
1,974
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. function my_custom_deal_properties( $deal, $order_id ) {
  2.  
  3.     $deal['properties'][] = array(
  4.         'name'  => 'woocommerce_link',
  5.         'value' => admin_url( 'post.php?post=' . $order_id . '&action=edit' ),
  6.     );
  7.  
  8.     return $deal;
  9.  
  10. }
  11.  
  12. add_filter( 'wpf_ecommerce_hubspot_add_deal', 'my_custom_deal_properties', 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement