Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

WooCommercePayments::is_complete()publicWC 1.0

Task completion.

Method of the class: WooCommercePayments{}

No Hooks.

Return

true|false.

Usage

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

WooCommercePayments::is_complete() code WC 9.0.1

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;
}