Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_em_mod_change_username($name,$EM_Person){
- $user_info = get_userdata($EM_Person->ID);
- $name = $user_info->user_login;
- return $name;
- }
- add_filter('em_person_get_name','my_em_mod_change_username',10,2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement