Last active
July 14, 2019 00:34
-
-
Save trueqap/d7e9e71e7e98ebdeb6b187839d91696d to your computer and use it in GitHub Desktop.
Disable WordPress password reset
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 | |
//https://wphu.org/tippek-trukkok/csak-masold-bele-fenti-kodot-sablonod-mappajaban-talalhato-functions-php-ba/ | |
function disable_password_reset() { return false; } | |
add_filter ( 'allow_password_reset', 'disable_password_reset' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment