Created
July 3, 2019 01:48
-
-
Save davidfcarr/2c6b9b3c35cbd45c0b1ef1db236c65f6 to your computer and use it in GitHub Desktop.
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 | |
/* | |
Plugin Name: Change Set Password Link | |
*/ | |
//modification for rsvpmaker-for-toastmasters | |
add_filter('welcome_message_set_password','my_welcome_message_set_password',10,3); | |
function my_welcome_message_set_password ($set_password_url, $key, $user_login) { | |
//make this whatever it needs to be for your front end login function. $key is a password reset hash code | |
$set_password_url .= 'http://spiritedspeechmasters.org/profile/?a=pwdreset'; | |
return $set_password_url; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment