Check if user already exist in WordPress

Marlon M

Member
Hi,
I'm looking to connect from Thrivecart to WordPress (LearnDash + Wishlist Member) and I've seen your tutorial here

However, I need to know how to set up the automation to check if a user exists before registering a new WordPress user.

Your tutorial only shows how to register a new user and then enrol them in Learndash but how would it work if they are already registered please?

Thanks
 
P

Pabblymember11

Guest
Hey @Marlon M

I need to know how to set up the automation to check if a user exists before registering a new WordPress user.

Your tutorial only shows how to register a new user and then enrol them in Learndash but how would it work if they are already registered please?
Since Learndash's API doesn't offer any action event which can list the user whether the user is enrolled or not.

But to check the existence of a user in your WP/Learndash you can use LearnDash: Search WP User action step.

2022-07-08_12h17_21.png
 
Top