Missing Password Validation
-
Hi,
Wordpress Version: 5.0.3
Buddypress Version: 4.1.0I want to validate the password if the User change the password in his profile settings but I didn’t found a way to implement custom password validation functions.
In WordPress core it exists the following hooks:
/** * Password validation */ add_action( 'user_profile_update_errors', array($this,'validateProfileUpdate'), 10, 3 ); add_filter( 'registration_errors', array($this,'validateRegistration'), 10, 3 ); add_action( 'validate_password_reset', array($this,'validatePasswordReset'), 10, 2 );
Is there a way to hook before the profile settings are updated – specially for the password field.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.