Solhan adlı üyeden alıntı: mesajı görüntüle
Aşağıdaki kodu kullanabilirsiniz.
<?php
if(isset($_GET['author_name'])) :
    $curauth = get_userdatabylogin($author_name);
else :
    $curauth = get_userdata(intval($author));
endif;
?>
Kullanıcı Rolü:<?php echo get_user_role($curauth->ID); ?>
Ne yazık ki çalışmadı