Last active
December 4, 2020 04:08
-
-
Save iamsathyaseelan/0022d02410b7fbd5d922e87b1214d21e to your computer and use it in GitHub Desktop.
change referral login url
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_action("rnoc_referral_login_url",function($login_url){ | |
return "https://www.happynappy.ie/wp-login.php"; | |
}); | |
add_action("rnoc_referral_register_url",function($register_url){ | |
return "https://www.happynappy.ie/wp-login.php?action=register&redirect_to=https://www.happynappy.ie/my-account/"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment