Advertisement
verygoodplugins

Untitled

May 8th, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. function append_email( $url, $order ) {
  2.  
  3.     return $url . '?email=' . $order->get_billing_email();
  4.  
  5. }
  6.  
  7. add_filter( 'woocommerce_get_checkout_order_received_url', 'append_email', 20, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement