I want to create a user automatically in Discourse when new registration happens in WordPress but I don’t want to give them access before they complete an application form.
I am able to use
sync on login and
must approve users settings to achieve most of this but I don’t know how to retrieve if the user is approved in Discourse?
Is there a WP user meta field that Discourse uses to store Discourse user approved status? If not, do I need to use an API to get the information from Discourse?
My goal - I want to show a button on my dashboard in WP with a dynamic link that changes based on approved or unapproved status.
Unapproved user - dynamic link directs to application form on WP
Approved user - dynamic link directs to the discourse community.
I looked at a few posts but could not find a solution. Help appreciated!