check_passwords WordPress Action Hook

The check_passwords Wordpress hook is used to check whether a user's password is correct when they try to log in. If the password is incorrect, the user will be unable to log in.

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).


Top ↑

Source

File: wp-admin/includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.5.1Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.