apply_filters( 'bp_members_validate_user_password', WP_Error $errors , string $pass , string $confirm_pass , null|WP_User $userdata )
Filter here to add password validation errors.
Parameters Parameters
- $errors
-
(WP_Error) Password validation errors.
- $pass
-
(string) The password.
- $confirm_pass
-
(string) The confirmed password.
- $userdata
-
(null|WP_User) Null or the userdata object when a member updates their password from front-end.
Source Source
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |