get user ID
-
Hi,
Can you tell me where the plugin gets the user ID?
What I exactly want is to modify the functions.php to update a user’s ‘active’ status in a different DB, which works actually if I give the actualy ID of the user manually, but obviously I want to get that ID automatically assigned, so I can use the name that goes with the currently registering user’s ID to update the status in the other DB, with comparing the two login names.
I saw that the functions.php uses the user ID, but no matter what part of the code I tried to copy, the result was always an empty sting, or 0.
I hope I was clear.Any help is appreciated.
Thanks,
Kacsa
- The topic ‘get user ID’ is closed to new replies.