Return to Snippet

Revision: 66628
at June 10, 2014 17:53 by daprela


Initial Code
// Changes link destination of 'Continue Shopping' button on cart page
	 
add_filter( 'woocommerce_continue_shopping_redirect', 'my_custom_continue_redirect' );
	 
function my_custom_continue_redirect( $url ) {
	return 'http://mydomain.com/url';
	}

Initial URL
http://webandtechstuff.com/continue-shopping-button-woocommerce-cart/

Initial Description
Changes link destination of 'Continue Shopping' button on cart page

Initial Title
Woocommerce changes link destination of 'Continue Shopping' button on cart page

Initial Tags
button

Initial Language
PHP