Page 1 of 1

Use Custom Reg Fields in Code (But Not Just For Current User

PostPosted: January 4th, 2011, 2:50 pm
by klock
Hi..

I customized the "new user" email that WP sends out to the admin...

I would like to add to it a custom registration field that I created... is there a function that I can pass a user ID to that will return a custom reg field?

Thanks!
Keith

Re: Use Custom Reg Fields in Code (But Not Just For Current

PostPosted: January 4th, 2011, 5:39 pm
by klock
Never mind.. figured it out...

Did this...

$get_custom_field = get_user_option ("s2member_custom_fields", $user_id);
$get_custom_field = $get_custom_field[custom_field_name];