Tribe__Tickets__Editor__Meta::get_global_stock_meta_fields()

Get global stock meta fields that we don’t actually want to update/delete from normal WP REST routes.


Return #

(array) List of global stock meta fields.


Top ↑

Source #

File: src/Tribe/Editor/Meta.php

	public function get_global_stock_meta_fields() {
		return [
			Tribe__Tickets__Global_Stock::GLOBAL_STOCK_ENABLED => 1,
			Tribe__Tickets__Global_Stock::GLOBAL_STOCK_LEVEL   => 1,
			Tribe__Tickets__Global_Stock::TICKET_STOCK_MODE    => 1,
			Tribe__Tickets__Global_Stock::TICKET_STOCK_CAP     => 1,
		];
	}

Top ↑

Changelog #

Changelog
Version Description
4.11.5 Introduced.