Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
Payments::is_in_progress
Check if the task is in progress.
Method of the class: Payments{}
No Hooks.
Returns
true|false.
Usage
$Payments = new Payments(); $Payments->is_in_progress();
Payments::is_in_progress() Payments::is in progress code WC 10.3.6
public function is_in_progress() {
// If the task is already complete, it's not in progress.
if ( $this->is_complete() ) {
return false;
}
return ( $this->has_woopayments_live_account_in_progress() || $this->has_woopayments_test_account() );
}