Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
Purchase::is_complete()
Task completion.
Method of the class: Purchase{}
No Hooks.
Return
true|false
.
Usage
$Purchase = new Purchase(); $Purchase->is_complete();
Purchase::is_complete() Purchase::is complete code WC 9.2.3
public function is_complete() { $products = $this->get_paid_products_and_themes(); return count( $products['remaining'] ) === 0; }