cagartner
7/18/2016 - 3:27 AM

WooCommerce - Redirect login to shop page

WooCommerce - Redirect login to shop page

<?php
function custom_woocommerce_login_redirect( $url ) {
	return get_permalink( wc_get_page_id( 'shop' ) );
}

add_filter( 'woocommerce_login_redirect', 'custom_woocommerce_login_redirect' );