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' );