Module::supports_global_stock()
Indicates if global stock support is enabled for this provider.
Return
(bool)
Source
File: src/Tickets/Commerce/Module.php
public function supports_global_stock() {
/**
* Allows the declaration of global stock support for Tribe Commerce tickets
* to be overridden.
*
* @param bool $enable_global_stock_support
*/
return (bool) apply_filters( 'tec_tickets_commerce_enable_global_stock', true );
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |