WordPress.org

Ready to get started?Download WordPress

Forums

Used variables / global variabels (4 posts)

  1. mcmike
    Member
    Posted 9 years ago #

    Is there a list of variables used by WordPress that I easaly can add / access in plugins / pages etc. ??

    Vars like username of the person who is currently on the web (for that person) user email etc. ?? This would make my work a bit easier :) :)

    I tried to extract it from the COOKIE, wich worked a bit, but not really the result I wanted since the COOKIE is to changable to really use...

    So anyone ? Please help :)

  2. mcmike
    Member
    Posted 9 years ago #

    Or is there something online ??

  3. Kafkaesqui

    Posted 9 years ago #

    Look at the function get_currentuserinfo(). Some variables it makes use of after it's called:

    $user_level
    $user_ID
    $user_nickname
    $user_email
    $user_url
    $user_pass_md5

  4. mcmike
    Member
    Posted 9 years ago #

    ahhh GREAT :) Thnx Kafaesqui :)

    I already figured out the COOKIEHASH :) but this is really usefull :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.