• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / src/Tribe/Global_Stock.php

Tribe__Tickets__Global_Stock::update_stock_level_on_move()

Plugin: Event Tickets

Method: When moving attendees between tickets or tickets between events and the source is not managing its own stock, we need to update the global stock.

tribe_tickets_global_stock_level_changed

Plugin: Event Tickets

Action Hook: Fires when the global stock level is set/changed.

Tribe__Tickets__Global_Stock::get_stock_level()

Plugin: Event Tickets

Method: Returns the post’s global stock–the shared maximum available, not the remaining available.

Tribe__Tickets__Global_Stock::tickets_sold()

Plugin: Event Tickets

Method: Returns a count of the number of global ticket sales for this event.

Tribe__Tickets__Global_Stock::enable()

Plugin: Event Tickets

Method: Enables global stock control for the current post.

Tribe__Tickets__Global_Stock::disable()

Plugin: Event Tickets

Method: Disables global stock control for the current post.

Tribe__Tickets__Global_Stock::is_enabled()

Plugin: Event Tickets

Method: Indicates if global stock is enabled for this post.

Tribe__Tickets__Global_Stock::set_stock_level()

Plugin: Event Tickets

Method: Sets the global stock level for the current post.

Tribe__Tickets__Global_Stock

Plugin: Event Tickets

Class: Management for Global Stock on events and tickets

Tribe__Tickets__Global_Stock::__construct()

Plugin: Event Tickets

Method: Creates an instance for a given Event

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy