Primary

API

Filters

groups_import_export_new_user_registration_subject

This filter allows to modify the subject of the email that is sent to notify a new user of his account. The filter receives the default subject, the user ID and the plaintext password.

Parameters

  • $subject – (string) the default message subject
  • $user_id – (int) the user’s ID
  • $plaintext_pass – (string) the plaintext password for the user’s account

Return

  • string the notification message subject

groups_import_export_new_user_registration_message

This filter allows to modify the message body of the email that is sent to notify a new user of his account. The filter receives the default message body, the user ID and the plaintext password; the latter should be used to inform the user of his password within the email body.

Parameters

  • $message – (string) the default message body
  • $user_id – (int) the user’s ID
  • $plaintext_pass – (string) the plaintext password for the user’s account

Return

  • string the notification message body