Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function append_email( $url, $order ) {
- return $url . '?email=' . $order->get_billing_email();
- }
- add_filter( 'woocommerce_get_checkout_order_received_url', 'append_email', 20, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement