Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

WooCommercePayments::is_complete()publicWC 1.0

Task completion.

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

Хуков нет.

Возвращает

true|false.

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

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

Код WooCommercePayments::is_complete() WC 8.9.0

public function is_complete() {
	if ( null === $this->is_complete_result ) {
		$this->is_complete_result = self::is_connected() && ! self::is_account_partially_onboarded();
	}

	return $this->is_complete_result;
}