SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function add_to_cart_url( $url ) {
  2.     $url = get_permalink( 'Your_page_id' );
  3.     return $url;
  4. }
  5.  
  6. add_filter( 'woocommerce_add_to_cart_redirect', 'add_to_cart_url' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top