On this page
do_action_ref_array( 'check_passwords', string $user_login, string $pass1, string $pass2 )
Fires before the password and confirm password fields are checked for congruity.
Parameters
$user_loginstring-
The username.
$pass1string-
The password (passed by reference).
$pass2string-
The confirmed password (passed by reference).
Source
File: wp-admin/includes/user.php. View all references
do_action_ref_array( 'check_passwords', array( $user->user_login, &$pass1, &$pass2 ) );
Related
Used By
| Used By | Description |
|---|---|
| edit_user() wp-admin/includes/user.php | Edit user settings based on contents of $_POST |
Changelog
| Version | Description |
|---|---|
| 1.5.1 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/check_passwords