Docs: Add a note to retrieve_password_message filter that password reset email will not be sent if the filtered message is empty.

Props sudar.
Fixes #39788.

git-svn-id: https://develop.svn.wordpress.org/trunk@40048 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-02-06 04:15:22 +00:00
parent 912059b82f
commit 8900e2466e

View File

@ -359,6 +359,8 @@ function retrieve_password() {
/**
* Filters the message body of the password reset mail.
*
* If the filtered message is empty, the password reset email will not be sent.
*
* @since 2.8.0
* @since 4.1.0 Added `$user_login` and `$user_data` parameters.
*