Last active
February 3, 2023 09:51
-
-
Save jjmontalban/4091529104ceef5e80a832f00a0ddf00 to your computer and use it in GitHub Desktop.
Redirigir tras login 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 login */ | |
add_filter( 'woocommerce_login_redirect', 'custom_redirection_login' ); | |
function custom_redirection_login( $redirection_url ) | |
{ | |
$redirection_url = "https://floramarket.es/tienda/"; | |
return $redirection_url; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment