Update user meta after submit Post Type
-
Hi there,
I’ve read lot of forum but I didn’t find the solution to my problem.
I have a form with a “Save As Post Type” : When this one is submitted it create my object “Team”.
I would like to have get the ID of this created team to add that one to the user (as a meta-data) with user registration. If the user register his team it’s the normal way is he had to be a part of this one, but nowadays I have to do that manually.
I read a bit about a command after the submit of the form but I didn’t really understand how to get the id of my object. I Tried a bit with the User Registration to create a Meta-Data but didn’t work.Thanks in advance for the help, feel free to ask more details!
Cheers
https://www.ads-software.com/plugins/gravity-forms-custom-post-types/
- The topic ‘Update user meta after submit Post Type’ is closed to new replies.