how can i find out the id of the current logged user?
how can i find out the id of the current logged user?
function get_user() {
global $current_user;
echo "UserID: " . $current_user->ID . "
";
}
enjoy
This topic has been closed to new replies.