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



email_change_email › Hooks de Filtros WordPress

Desde4.3.0
Obsoleton/a
apply_filters( 'email_change_email', $email_change_email, $user, $userdata )
Parâmetros: (3)
  • (array) $email_change_email { Used to build wp_mail(). @type string $to The intended recipients. @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. - ###NEW_EMAIL### The new email address. - ###EMAIL### The old email address. - ###SITENAME### The name of the site. - ###SITEURL### The URL to the site. @type string $headers Headers. }
    Required: Yes
  • (array) $user The original user array.
    Required: Yes
  • (array) $userdata The updated user array.
    Required: Yes
Definido em:
Codex:

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





Fonte

$email_change_email = apply_filters( 'email_change_email', $email_change_email, $user, $userdata );