Filter Display Name

This filter can be used to change the display name of the user on the profile page at the front end.

apply_filters( 'profile_magic_filter_display_name',$displayname,$uid,$labels );

$displayname is the display name of a user to be displayed on the frontend.

$uid is the user ID.

$labels -> true or false.