Home › Forums › Front End PM PRO › Disable › Reply To: Disable
October 9, 2020 at 7:34 pm
#41254
jilllynndesign
Participant
I added the PHP but it isn’t working to remove the link. Here’s the entire code:
<?php
$attendee_info = get_userdata(UPT()->get_user_id());
$attendee_display_name = $attendee_info->user_nicename;
} ?>
<?php if (fep_current_user_can( ‘send_new_message’ )) { ?>
$attendee_display_name ) ); ?>”>Send Message
<?php } ?>
The get_userdata(UPT()->get_user_id()); comes from FacetWP’s User Post Type plugin as I’m using it to create an attendee listing.