Reply To: Disable


Home Forums Front End PM PRO Disable Reply To: Disable

#41265
jilllynndesign
Participant

That hides the link for everyone. But the link doesn’t display if the receiver has unchecked “Allow others to send me messages?” in Settings.

<?php if ( fep_current_user_can( 'send_new_message_to', $attendee_id )) { ?>
<a class="text-link" href="<?php echo fep_query_url('newmessage', array('fep_to' => UPT()->get_user_id() ) ); ?>">Send Message</a>
<?php } ?>