Tribe__Tickets__Global_Stock::is_enabled()

Indicates if global stock is enabled for this post.


Return

(bool)


Top ↑

Source

File: src/Tribe/Global_Stock.php

	public function is_enabled() {
		return tribe_is_truthy( get_post_meta( $this->post_id, self::GLOBAL_STOCK_ENABLED, true ) );
	}

Top ↑

Changelog

Changelog
Version Description
4.1 Introduced.