i want to get the username of the client account to be automatically saved in the ticket. i will let him enter some details but the username i want it to be inserted directly with every ticket purchase he/she makes.
is it possible ? or it has to be made manually with PHP ??
The way I would do this would be to write a custom shortcode for the messages system that will parse to the username of the user account that created the registration. This could then be added to the tickets shortcode and allow you to input it into the ticket templates.
However there are multiple ways to include do this and it depends on exactly what you want to do.
But the username can be pulled in using details from the registration. How/what you do with that depends on what it is you want to do.
The support post ‘WP user Integration. quick assist’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Considering Event Espresso for a new project? Tell us more through our contact page.