Guest User

Untitled

a guest
Sep 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. add_action('woocommerce_checkout_update_order_meta',function( $order_id, $posted ){
  2. update_post_meta( $order_id, 'my_custom_meta_key', 'my data' );
  3. } , 10, 2);
  4.  
  5. WC_Order()->get_refunds();
Add Comment
Please, Sign In to add comment