i4w_password_send_subject

Usage:

This filter hook enables you to change the default “Send Password” message subject on the fly through a filter.

If this hook is used, the email subject returned by your filter function will override the default text.

Parameters:

iMember360 will pass the following parameters to your filter function:

$subject The subject of the email, unfiltered.

$default_subj The fixed portion of the subject, as defined in “custom messages”.
$user_firstname The user’s first name.
$user_lastname The user’s last name.

Example:

function my_i4w_password_send_subject($subject, $default_subj, $user_firstname, $user_lastname) {
  $new_subject  = 'Password Reminder For ' . $user_firstname;
  return $new_subject;
}
add_filter('i4w_password_send_subject', 'my_i4w_password_send_subject', 1, 4);