Last active
March 14, 2024 16:03
-
-
Save adamsilverstein/8b1a3a6d7f160351e9fe31979b76d90f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/** | |
* Disable password reset | |
* | |
* @wordpress-plugin | |
* Plugin Name: Disable password reset. | |
* Description: Disable password reset. | |
* Plugin URI: | |
* Version: 1.0.0 | |
* Author: Adam Silverstein, Google | |
* License: Apache License 2.0 | |
* License URI: https://www.apache.org/licenses/LICENSE-2.0 | |
*/ | |
add_filter ( 'allow_password_reset', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment