Created
August 5, 2019 09:25
-
-
Save zorem/ce1166f29f8a54903f88d1db025d366f to your computer and use it in GitHub Desktop.
Using this code snippet you can redirect to custom page after register
This file contains hidden or 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 | |
add_filter( "wcalr_register_redirect", "wcalr_register_redirect_link", 10, 1); | |
function wcalr_register_redirect_link($link){ | |
$link = get_home_url(); | |
return $link; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment