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



retrieve_password_notification_email › WordPress过滤钩子

Since6.0.0
已弃用n/a
› apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data )
参数: (4)
  • () defaults { The default notification email arguments. Used to build wp_mail(). @type string $to The intended recipient - user email address. @type string $subject The subject of the email. @type string $message The body of the email. @type string $headers The headers of the email. }
    Required: Yes
  • () key The activation key.
    Required: Yes
  • () user_login The username for the user.
    Required: Yes
  • () user_data WP_User object.
    Required: Yes
定义在:
文档:

Filters the contents of the reset password notification email sent to the user.





源码

$notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data );