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?

#14977
shamim
Keymaster

remove previous code and add following code in your theme’s (child theme’s if any) functions.php

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