Reply To: Extra mail variable request.


Home Forums Front End PM PRO Extra mail variable request. Reply To: Extra mail variable request.

#20013
Andrew Perryman
Participant

PS..

Shamim,

I have just started reading through your code but it is wood for trees sometimes but is the variable I am after called – “$message_id” – does this represent the mail group name?

e.g.
So would this work…


add_filter( 'fep_eb_email_legends', function( $legends, $post, $user_email ){
$legends['group'] = array(
'description' => __('Mail group name', 'front-end-pm'),
'where' => array( 'newmessage', 'reply' ), //where this tag will be used
'replace_with' => '$message_id'
);
return $legends;
}, 10, 3);

Or have I got this totally wrong and it is called something else?

Andrew