Title: Update Ticket Count Function
Last modified: August 31, 2016

---

# Update Ticket Count Function

 *  Resolved [justin.proxmire](https://wordpress.org/support/users/justinproxmire/)
 * (@justinproxmire)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/update-ticket-count-function-1/)
 * I’m doing some theme & plugin development and, first off, thanks for the amazing
   plug-in. It’s been a world of help so far!
    I’m running both Event Calendar and
   Event Tickets v4.0.4 to track RSVPs for simple events.
 * I’ve combed through documentation and your functions archive but can’t seem to
   find functionality for updating ticket counts (only for querying counts).
 * Is there any function call I’m missing that may do what I need?
 * [https://wordpress.org/plugins/event-tickets/](https://wordpress.org/plugins/event-tickets/)

Viewing 1 replies (of 1 total)

 *  [Brook](https://wordpress.org/support/users/brook-tribe/)
 * (@brook-tribe)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/update-ticket-count-function-1/#post-6919139)
 * Howdy Justin,
 * I am happy it is proving useful!
 * Our template functions are just for templates, thus are limited to displaying.
   If you wish to modify tickets you’ll need to dive into the /event-tickets/src/
   Tribe folder to find the classes that power everything.
 * To get a ticket checkout Tribe__Tickets__RSVP::get_ticket() . To save one checkout
   Tribe__Tickets__RSVP::save_ticket() . The ticket object itself will contain the
   stock count as well as any other ticket attributes.
 * I hope that helps. Cheers!
    – Brook

Viewing 1 replies (of 1 total)

The topic ‘Update Ticket Count Function’ is closed to new replies.

 * ![](https://ps.w.org/event-tickets/assets/icon.svg?rev=2259340)
 * [Event Tickets and Registration](https://wordpress.org/plugins/event-tickets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-tickets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-tickets/)
 * [Active Topics](https://wordpress.org/support/plugin/event-tickets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-tickets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-tickets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Brook](https://wordpress.org/support/users/brook-tribe/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/update-ticket-count-function-1/#post-6919139)
 * Status: resolved