Hi @stevemoretz
If that is enough for your verification if the WordPress account has a social account linked to, then you could check if the User ID of the WordPress account can be found in the ID field of our <wp-preffix>social_users (e.g.: wp_social_users) table. Since this is the table where we store the link between the WordPress account and the social media account.
( Please note that, users can link social media accounts to existing WordPress accounts, so only having and ID match itself doesn’t confirm that the WordPress account was also registered with Nextend Social Login. )
If you want to be more precise, so you only want to skip the verification if the WordPress account was registered with Nextend Social Login, then in the same database table I mentioned above, you should also check the value of “register_date” field.
If the action was a registration, then this field contains a valid date otherwise 0 values e.g.: 0000-00-00 00:00:00
Some tip:
If you just started using Nextend Social Login, so there aren’t a lot of social accounts on your site, yet. Then you could make things much easier by storing a user meta for the user when they register with social login.
This can be done over the “nsl_register_new_user” action:
If you check the documentation and search for the keyword “nsl_register_new_user” you will also find code examples of how you can use this action to set user meta.
Best regards,
Laszlo.