Use the code functions.php
:
add_filter('woocommerce_login_redirect', 'wc_login_redirect');
function wc_login_redirect( $redirect_to ) {
$redirect_to = 'https://www.example.com/';
return $redirect_to;
}
Use the code functions.php
:
add_filter('woocommerce_login_redirect', 'wc_login_redirect');
function wc_login_redirect( $redirect_to ) {
$redirect_to = 'https://www.example.com/';
return $redirect_to;
}