Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress get current logged in user

// get the current logged-in user object
$user = wp_get_current_user();
 
PREVIOUS NEXT
Tagged: #wordpress #current #logged #user
ADD COMMENT
Topic
Name
4+5 =