Statistics: Posted by Sim2K — October 13th, 2011, 8:55 am
Statistics: Posted by Cristián Lávaque — May 23rd, 2011, 2:17 am
$user_data->first_name
$user_data->wp_s2member_custom_fields['mobile']
Statistics: Posted by talkdownunder — May 23rd, 2011, 12:12 am
<pre><?php print_r($fields); ?></pre>
$user_data = get_userdata($user_id);
print_r($user_data);
echo $data['ID'] . ' - ' . $user_data['first_name'] . ' ' . $user_data['last_name'] . '<br/>';
echo 'My custom field is ' . $user_data['wp_s2member_custom_fields']['my_custom_field'];
Statistics: Posted by Cristián Lávaque — May 20th, 2011, 2:09 am
echo $data['ID']." - ".get_user_field('first_name', $data['ID'])." ".get_user_field('last_name', $data['ID'])."<br/>";
$fields = get_user_option('s2member_custom_fields', $data['ID']);
Statistics: Posted by talkdownunder — May 20th, 2011, 12:32 am
$field = get_user_field('my_custom_field', $user_id);
$fields = get_user_option('s2member_custom_fields', $user_id);
Statistics: Posted by Cristián Lávaque — May 20th, 2011, 12:18 am
Statistics: Posted by talkdownunder — May 19th, 2011, 11:19 pm