Uma área de pesquisa sobre o WordPress para devs e autores do tema



retrieve_password_message ›

Desde4.1.0
Obsoleton/a
apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data )
Parâmetros: (4)
  • (string) $message Default mail 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
Definido em:
Codex:

Filters the message body of the password reset mail.

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





Fonte

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