Forums

id of the current logged user (3 posts)

  1. Andreiztm
    Member
    Posted 1 year ago #

    how can i find out the id of the current logged user?

  2. cafespain
    Member
    Posted 1 year ago #

  3. my-gude_org
    Member
    Posted 9 months ago #

    function get_user() {
    global $current_user;

    echo "UserID: " . $current_user->ID . "
    ";
    }

    enjoy

Topic Closed

This topic has been closed to new replies.

About this Topic