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