Skip to content

How to add a meta field when registering with social media using the WordPress Social Login plugin? #384

@kempromed

Description

@kempromed

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions