W3cubDocs

/WordPress

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_login

(string) The username.

$pass1

(string) The password (passed by reference).

$pass2

(string) The confirmed password (passed by reference).

Source

File: wp-admin/includes/user.php

View on Trac

Changelog

Version Description
1.5.1 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/check_passwords