Title: Code protected event ticket
Last modified: August 21, 2016

---

# Code protected event ticket

 *  Resolved [escorrt_admin](https://wordpress.org/support/users/escorrt_admin/)
 * (@escorrt_admin)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-protected-event-ticket/)
 * Is there a way to have a code protecting the purchase of an event ticket? For
   example, I only want people who have a particular passcode to be able to buy 
   tickets to an event.
 * On another note, is there a way to have a purchased ticket generate a passcode?
 * [http://wordpress.org/plugins/events-manager/](http://wordpress.org/plugins/events-manager/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-protected-event-ticket/#post-3971531)
 * Have you thought about using the built-in post password-protection feature that
   comes with WordPress? That should work fine if you don’t mind having only one
   password per event.
 *  Thread Starter [escorrt_admin](https://wordpress.org/support/users/escorrt_admin/)
 * (@escorrt_admin)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-protected-event-ticket/#post-3971605)
 * Yes, however, that will not work for what I need. Basically I am going to have
   teams created for this event. Each team leader (once registered) will be given
   a passcode to send to the other members of the team who will then need to buy
   tickets. I want each team member to have to use that passcode in order to buy
   the ticket (this will allow me to track how many members have registered to each
   team). If they do not have a passcode, then they can buy the ticket. Is there
   a way to do this with the Event Manager?
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-protected-event-ticket/#post-3971670)
 * when adding or updating event you can check ‘members only’ or using the latest
   dev version ‘Available for’ dropdown menu under Bookings/Registration metabox.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Code protected event ticket’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [code generation](https://wordpress.org/support/topic-tag/code-generation/)
 * [event ticket](https://wordpress.org/support/topic-tag/event-ticket/)
 * [passcode](https://wordpress.org/support/topic-tag/passcode/)

 * 3 replies
 * 3 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/code-protected-event-ticket/#post-3971670)
 * Status: resolved