wpseek.com
A WordPress-centric search engine for devs and theme authors



retrieve_password_message › WordPress Filter Hooks

Since4.1.0
Deprecatedn/a
apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data )
Parameters: (4)
  • (string) $message Email message.
    Required: Yes
  • (string) $key The activation key.
    Required: Yes
  • (string) $user_login The username for the user.
    Required: Yes
  • (WP_User) $user_data WP_User object.
    Required: Yes
Defined at:
Codex:

Filters the message body of the password reset mail.

If the filtered message is empty, the password reset email will not be sent.





Source

$message = apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data );