Reply To: Message Renumbering after Update


Home Forums Front End PM PRO Message Renumbering after Update Reply To: Message Renumbering after Update

#16983
shamim
Keymaster

Use

add_action( 'fep_display_after_message', function(){
	$authordata = get_userdata( fep_get_message_field( 'mgs_author' ) );
	
	if( in_array( 'business', $authordata->roles ) ){
		echo '<div id="businesslink">See more information and photos of <a href="' . esc_url( home_url( '/' ) ). $authordata->user_nicename . '">' . $authordata->display_name . '</a>.</div>';
	}
});