Reply To: Profile Fields show on email to admin?
Thanks for your reply kizzywizzy! I’ve added this code to the functions.php file but this adds some of the user data to the users activation email which is not what I want. Like this:
`WP_User::__set_state(array(
‘data’ =>
stdClass::__set_state(array(
‘ID’ => ‘827’,
‘user_login’ => ‘user’,
‘user_pass’ => ‘password’,
‘user_nicename’ => ‘stefanlesik’,
‘user_email’ => ’email’,
‘user_url’ => ”,
‘user_registered’ => ‘2013-02-18 17:05:46’,
‘user_activation_key’ => ”,
‘user_status’ => ‘0’,
‘display_name’ => ‘user’,
)),
‘ID’ => 827,
‘caps’ =>
array (
‘subscriber’ => true,
),
‘cap_key’ => ‘wp_capabilities’,
‘roles’ =>
array (
0 => ‘subscriber’,
),
‘allcaps’ =>
array (
‘read’ => true,
‘level_0’ => true,
‘subscriber’ => true,
),
‘filter’ => NULL,
))`
I’d like to display the all the xprofile data in the new user registration email that admin receives. Is this possible?