take name of the group php
-
I′m try to take the name of the group but i can′t
to take the user′s name i have this code and works
<?php
global $current_user;
get_currentuserinfo();
$usuario = esc_attr($current_user->user_login);
if(!empty($usuario)){
echo “Hi “.$usuario.”.”;
} else{
}
?>can someone help me? thanks
- The topic ‘take name of the group php’ is closed to new replies.