wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



password_change_email › WordPress Filter Hooks

Seit4.3.0
Veraltetn/v
apply_filters( 'password_change_email', $pass_change_email, $user, $userdata )
Parameter: (3)
  • (array) $pass_change_email { Used to build wp_mail(). @type string $to The intended recipients. Add emails in a comma separated string. @type string $subject The subject of the email. @type string $message The content of the email. The following strings have a special meaning and will get replaced dynamically: - ###USERNAME### The current user's username. - ###ADMIN_EMAIL### The admin email in case this was unexpected. - ###EMAIL### The user's email address. - ###SITENAME### The name of the site. - ###SITEURL### The URL to the site. @type string $headers Headers. Add headers in a newline (\r\n) separated string. }
    Erforderlich: Ja
  • (array) $user The original user array.
    Erforderlich: Ja
  • (array) $userdata The updated user array.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the contents of the email sent when the user's password is changed.





Quellcode

$pass_change_email = apply_filters( 'password_change_email', $pass_change_email, $user, $userdata );