Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

AdditionalPayments::is_complete()publicWC 1.0

Task completion.

Метод класса: AdditionalPayments{}

Хуков нет.

Возвращает

true|false.

Использование

$AdditionalPayments = new AdditionalPayments();
$AdditionalPayments->is_complete();

Код AdditionalPayments::is_complete() WC 7.3.0

public function is_complete() {
	if ( $this->is_complete_result === null ) {
		$this->is_complete_result = self::has_gateways();
	}

	return $this->is_complete_result;
}