Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress get username

$current_user = wp_get_current_user();
echo($current_user->user_login);
 
PREVIOUS NEXT
Tagged: #wordpress #username
ADD COMMENT
Topic
Name
9+1 =