Hello.
Using a plugin from OneAll added an additional meta field to the user when registering through a hook
function oa_social_login_store_extended_data ($user_data, $identity)
{
$identity = time() . rand(10000, 99999);
update_user_meta ($user_data->ID, 'userglobalid', $identity);
}
add_action ('oa_social_login_action_after_user_insert', 'oa_social_login_store_extended_data', 10, 2);
Is it possible to add the same field via the WordPress Social Login plugin hook?
Hello.
Using a plugin from OneAll added an additional meta field to the user when registering through a hook
function oa_social_login_store_extended_data ($user_data, $identity)
{
$identity = time() . rand(10000, 99999);
update_user_meta ($user_data->ID, 'userglobalid', $identity);
}
add_action ('oa_social_login_action_after_user_insert', 'oa_social_login_store_extended_data', 10, 2);
Is it possible to add the same field via the WordPress Social Login plugin hook?