Home › Forums › Front End PM PRO › Preview or clickable profile / Avatar so you know who is messaging you. › Reply To: Preview or clickable profile / Avatar so you know who is messaging you.
February 10, 2020 at 8:32 pm
#34361
Shamim Hasan
Keymaster
add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_user_name', function( $name, $id ){
if ( $name && fep_get_the_id() ) {
$name = '<a href="https://yoursite.com/your-all-userlisting-page/user/'. $id . '/">' . $name . '</a>';
}
return $name;
}, 10, 2);
Change your website your user listing page actual url.