Filter hook 'check_password'

in WP Core File wp-includes/pluggable.php at line 2594

Description

Filters whether the plaintext password matches the encrypted password.

Occurrences

Filename Line Number
wp-includes/pluggable.php 2594
wp-includes/pluggable.php 2610

Parameters

Type Name Description
bool $check Whether the passwords match.
string $password The plaintext password.
string $hash The hashed password.
string|int $user_id User ID. Can be empty.

PHP Doc

/**
			 * Filters whether the plaintext password matches the encrypted password.
			 *
			 * @since 2.5.0
			 *
			 * @param bool       $check    Whether the passwords match.
			 * @param string     $password The plaintext password.
			 * @param string     $hash     The hashed password.
			 * @param string|int $user_id  User ID. Can be empty.
			 */