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:

$subjectThe subject of the email, unfiltered.

$default_subjThe fixed portion of the subject, as defined in “custom messages”.
$user_firstnameThe user’s first name.
$user_lastnameThe 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);