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

Filters whether the plaintext password matches the encrypted password.

Parameters Parameters


(bool) Whether the passwords match.


(string) The plaintext password.


(string) The hashed password.


(string|int) User ID. Can be empty.

Top ↑

Source Source

File: wp-includes/pluggable.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.