function invite_get_subject in Invite 7.2
Same name and namespace in other branches
- 5.2 invite.module \invite_get_subject()
- 5 invite.module \invite_get_subject()
- 6.2 invite.module \invite_get_subject()
Return the invite e-mail subject.
Parameters
$substitutions: Associative array of substitutions for token replacement.
Return value
The e-mail subject.
1 call to invite_get_subject()
- invite_page_form in ./
invite.module - Generate the invite page form.
File
- ./
invite.module, line 1463 - Allows your users to send and track invitations to join your site.
Code
function invite_get_subject($args = array()) {
$subject = variable_get('invite_subject', t('[invite:inviter-raw] has sent you an invite!'));
return token_replace($subject, invite_token_data($args));
}