Reply To: How to link the participants name to their profile?


Home Forums Front End PM PRO How to link the participants name to their profile? Reply To: How to link the participants name to their profile?

#26441
shamim
Keymaster

Please use this code

add_filter( 'fep_filter_user_name', function( $name, $id ){
	if ( $name && function_exists( 'um_fetch_user' ) && fep_get_the_id() ) {
		um_fetch_user( $id );
		$name = '<a href="' . um_user_profile_url() . '">' . $name . '</a>';
	}
	return $name;
}, 10, 2);