WordPress.org

Forums

Front-End Only Users
unique User_ID (2 posts)

  1. fkwong
    Member
    Posted 9 months ago #

    how to assign a unique_id to each user during logon and how to retrieve it?

    I'm trying to add the 'uniqid()' function into 'insert_register_form.php' in the plugin folder. But how do I use the value from the function to assign to a new field? Ideally it'll come up as an un-editable text box in the registration page along with the other fields such as first name etc.

    I also have had a look at the 'Get_User_ID()' function in 'public_functions.php' file but how do you access that and how does it work?

    finally if there is more documentation/api please let me know.

    Many Thanks

    https://wordpress.org/plugins/front-end-only-users/

  2. Rustaurius
    Member
    Plugin Author

    Posted 9 months ago #

    Hi FkWong,

    Take a look at this thread:

    http://wordpress.org/support/topic/how-to-know-if-the-user-is-logged-in?replies=3

    It would be very similar to get the User_ID.

Reply

You must log in to post.

About this Plugin

About this Topic