[Resolved] Register plus: accessing additional user info
i’ve been digging around for quite some time, but cannot find the answer to this problem.
if i want to conditionally present content based on user information in a sidebar (from the user table) i found quite a lot of info (ie
i’m currently using the Register Plus plugin and would like to use the variable fields from the plugin (ie ‘gender’) to present two versions of the content. does anyone know how can i retrieve this info from the current ID?
an example of code for a sidebar (not even trying to do anything with the info yet!):
<?php global $userdata;
echo('Username: ' . $userdata->user_login . "\n");
echo('User level: ' . $userdata->user_level . "\n");
echo('User ID: ' . $userdata->ID . "\n");
echo('sex: ' . $userdata->??? . "\n");
i hope that somebody has suggestions, thanks!
- The topic ‘[Resolved] Register plus: accessing additional user info’ is closed to new replies.