Last active
February 3, 2023 09:50
-
-
Save jjmontalban/3c231cc2c0ce0b829428246128543097 to your computer and use it in GitHub Desktop.
redirige tras registro en Woocommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Redireccion tras registro */ | |
add_filter( 'woocommerce_registration_redirect', 'custom_redirection_registration', 10, 1 ); | |
function custom_redirection_registration( $redirection_url ) | |
{ | |
$redirection_url = get_home_url(); | |
return $redirection_url; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment