Reply To: Notification of attachment without including attachment


Home Forums Front End PM PRO Notification of attachment without including attachment Reply To: Notification of attachment without including attachment

#12868
STEVE
Participant

Thanks @shamim but how exactly do I edit this code to send attachment status with email?

add_filter( 'fep_eb_email_legends', function( $legends, $post, $user_email ){
    $legends['custom_tag'] = array(
        'description' => __('Description of this custom tag', 'front-end-pm'),
        'where' => array( 'newmessage', 'reply' ), //where this tag will be used
        'replace_with' => 'this will be sent in email instead of {{custom_tag}}'
    );
    return $legends;
}, 10, 3);

I believe I’m supposed to replace “this will be sent in email instead of” with something, but I’m not sure what.

Also am I supposed to replace custom_tag with something of my choosing?

Thanks