Home › Forums › Front End PM PRO › Message Renumbering after Update › Reply To: Message Renumbering after Update
August 29, 2018 at 1:23 am
#16980
David
Participant
Thanks, that worked perfectly.
One other small issue, before I was using the following in my functions.php.
add_action( ‘fep_display_after_message’, function(){
$authordata = get_userdata( get_the_author_meta(‘ID’) );
if( in_array( ‘business’, $authordata->roles ) ){
echo ‘<div id=”businesslink”>See more information and photos of ‘ . get_the_author_meta(‘display_name’) . ‘.</div>’;
}
});
It is not working anymore although I can see that the action is still there. Any ideas?