Tribe__Tickets__Status__Manager::get_all_provider_statuses( $commerce )

Return an array of Statuses for a provider Commerce


Parameters

$commerce

(Required) string a string of the Commerce System to get statuses from


Top ↑

Return

(array) an array of the commerce's statuses


Top ↑

Source

File: src/Tribe/Status/Manager.php

	public function get_all_provider_statuses( $commerce ) {

		$trigger_statuses = [];

		$commerce = $this->check_for_full_provider_name( $commerce );

		if ( ! isset( $this->statuses[ $commerce ]->statuses ) ) {
			return $trigger_statuses;
		}

		return $this->statuses[ $commerce ]->statuses;

	}

Top ↑

Changelog

Changelog
Version Description
4.10 Introduced.