I need to know how I can link a registered user with a Custom Post Type. I.e:
- I have users registering over the normal process in WordPress.
- Each user is a Post in a Custom Post Type called "Registraties".
- I have created Custom User Fields called "Groep voor Registraties".
- I have used a separate User Form for once the user has registered on the site they can edit their profile.
- I have created a post relationship called "Registraties Voorkeuren" so that a user can submit his preferences (using a Post Form) and select himself as a user.
How can the Custom Post Type "Registraties" automatically be filled with the user information from WordPress upon registration?
This is something we plan to work on in one of the upcoming developer cycles, automatically syncing between user fields and fields on a linked "profile" post, but there is no such facility at the moment.
I suggest you read this document about the recommended way of connecting users to "profile" posts which can be used to store data about the user, i.e. the recommendation is to register a user and then have them complete a form which creates a profile POST rather than extensively using user fields.