Skip to content

Instantly share code, notes, and snippets.

@davidfcarr
Created July 3, 2019 01:48
Show Gist options
  • Save davidfcarr/2c6b9b3c35cbd45c0b1ef1db236c65f6 to your computer and use it in GitHub Desktop.
Save davidfcarr/2c6b9b3c35cbd45c0b1ef1db236c65f6 to your computer and use it in GitHub Desktop.
<?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