Tribe__Tickets_Plus__Commerce__WooCommerce__Main::supports_global_stock()

Indicates if global stock support is enabled (for WooCommerce the default is true).

Contents


Return

(bool)


Top ↑

Source

File: src/Tribe/Commerce/WooCommerce/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_woo_enable_global_stock', true );
	}