apply_filters( 'check_password', bool $check, string $password, string $hash, string|int $user_id )

Filters whether the plaintext password matches the hashed password.


Parameters

$check

Whether the passwords match.

$password

The plaintext password.

$hash

The hashed password.

$user_id

ID of a user associated with the password.<br> Can be empty.


Source

File: wp-includes/pluggable.php

View on GitHub


Changelog

Changelog
Version Description
2.5.0 Introduced.