WordPress开发者和主题制作者的搜索引擎



retrieve_password_message ›

Since4.1.0
已弃用n/a
apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data )
参数: (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
定义在:
文档:

Filters the message body of the password reset mail.

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





源码

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