Support » Plugins and Hacks » User Registration Date

  • JobTask

    (@jobtask)


    Hello! Does anyone know of a plugin or code that I use to keep up with the date a user registered as a member for my website? I was hoping for find something like “Member since: March 2011” or “Join Date: March 2011” or something like this that I could put below their name.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Roger Coathup

    (@rogercoathup)

    get_userdata() returns all the information you need about a user.

    e.g. to display member since information:

    <?php echo date(“M Y”, strtotime(get_userdata(get_current_user_id( ))->user_registered)); ?>

    Thanks Roger. Just what I was looking for. Works great.

    Nevermind. It shows the same date for all the users.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User Registration Date’ is closed to new replies.