the answer for all question about Oxygen Builder plugin and WordPress

Hey guys, for those using woocommerce how do you guys stop the checkout login re

Hey guys, for those using woocommerce how do you guys stop the checkout login redirect from going to user dashboard?

I tried using the code provided by woo team but i can’t get it to work. What could be the cause of this ? Thanks in advance. Here is the code :

<?php function woo_login_redirect( $redirect_to ) {
$redirect_to = get_permalink(23);
if(!is_checkout()){
return $redirect_to;
} else {
return;
}
};
add_filter(‘woocommerce_login_redirect’, ‘woo_login_redirect’); ?>



Source

Leave A Reply

Your email address will not be published.

Oxyrealm Docs