Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Purchase::is_complete()publicWC 1.0

Task completion.

{} It's a method of the class: Purchase{}

No Hooks.

Return

true|false.

Usage

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

Code of Purchase::is_complete() WC 6.6.1

public function is_complete() {
	$products = $this->get_paid_products_and_themes();
	return count( $products['remaining'] ) === 0;
}