Payouts::is_payouts_enabled()

Returns whether or not payouts is enabled.

Fails if split payments aren’t enabled, or the method is not set to payouts.


Return #

(boolean)


Top ↑

Source #

File: src/Tribe/Payouts.php

	public function is_payouts_enabled() {
		//  get and check the method we're using
		$method = $this->split_payment_method();

		return Payouts_API::GATEWAY === $method;
	}

Top ↑

Changelog #

Changelog
Version Description
4.7.0 Introduced.