Filters whether the plaintext password matches the encrypted password.
$checkbool$passwordstring$hashstring$user_idstring|intwp-includes/pluggable.php:2670wp_check_password()wp-includes/pluggable.php:2686wp_check_password() * * @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. */ return apply_filters( 'check_password', $check, $password, $hash, $user_id ); } /* * If the stored hash is longer than an MD5, * presume the new style phpass portable hash. */Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.