Last active
April 3, 2021 01:32
-
-
Save KaineLabs/9328e334a75a6170fcd8438c252c4eed to your computer and use it in GitHub Desktop.
Fix Login and Reset Password Issue For WPEngine 503 Bad Gateway
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 | |
/** | |
* Fix Lost Password Issue For WPEngine. | |
*/ | |
function yzc_change_lost_password_link( $action ) { | |
return add_query_arg( 'wpe-login', 'true', $action ); | |
} | |
add_filter( 'youzify_membership_form_action', 'yzc_change_lost_password_link', 100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment