Created
August 22, 2023 08:32
-
-
Save KaineLabs/a338f3f62c3b4151fa6f0c282a20d61a to your computer and use it in GitHub Desktop.
Youzify - Change Reset Password / Lost Password Form Action
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 | |
// Youzify - Change Reset Password / Lost Password Form Action | |
function yzc_change_lost_password_link( $action, $form ) { | |
if ( $form == 'lost_password' ) { | |
return '/wp-logmein.php'; | |
} | |
return $action; | |
} | |
add_filter( 'youzify_membership_form_action', 'yzc_change_lost_password_link', 100, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment