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



wp_password_change_notification_email › Hooks de Filtros WordPress

Desde4.9.0
Obsoleton/a
apply_filters( 'wp_password_change_notification_email', $wp_password_change_notification_email, $user, $blogname )
Parâmetros: (3)
  • (array) $wp_password_change_notification_email { Used to build wp_mail(). @type string $to The intended recipient - site admin 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
  • (WP_User) $user User object for user whose password was changed.
    Required: Yes
  • (string) $blogname The site title.
    Required: Yes
Definido em:
Codex:

Filters the contents of the password change notification email sent to the site admin.





Fonte

$wp_password_change_notification_email = apply_filters( 'wp_password_change_notification_email', $wp_password_change_notification_email, $user, $blogname );