Home › Forums › Front End PM PRO › How to link the participants name and their avatar to their profile? › Reply To: How to link the participants name and their avatar to their profile?
July 12, 2020 at 12:02 pm
#39228
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/'. fep_get_userdata( $id, 'user_nicename', 'id' ) . '/">' . $name . '</a>';
}
return $name;
}, 10, 2);