Disable password reset in WordPress

Disable password reset in WordPress on child sites.

Snippet Type

Execute on Child Sites

Snippet

function fix_wp_disable_password_reset() { return false; }
add_filter ( 'allow_password_reset', 'fix_wp_disable_password_reset' );
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.