Created
February 9, 2021 16:30
-
-
Save cartpauj/5b44765b034f3e6c1ceb883126456f13 to your computer and use it in GitHub Desktop.
Disable Math Captcha on Login Page - MemberPress
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 | |
// Disables math captcha on login page | |
function kill_math_on_login() { | |
remove_all_actions('mepr-forgot-password-form'); | |
remove_all_actions('mepr-login-form-before-submit'); | |
remove_all_filters('mepr-validate-forgot-password'); | |
remove_all_filters('mepr-validate-login'); | |
} | |
add_action('plugins_loaded', 'kill_math_on_login'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@cartpauj Hi Paul, I really like the work you do. Are you open to developer work? We're looking for some help with getting Google to index the protected content in addition to the non-protected content. The default settings aren't working and support says we need a dev. Anyway, if you're interested, you can message me (I'm new to GH so I'm not sure if that's possible) or you can message me through Twitter (my username is in my profile).