Automattic\WooCommerce\Internal\Admin

WcPayWelcomePage::is_payments_task_complete()privateWC 1.0

Determine if the WooCommerce setup task list Payments task is complete.

Method of the class: WcPayWelcomePage{}

No Hooks.

Return

true|false. True if the Payments task is complete, false otherwise.

Usage

// private - for code of main (parent) class only
$result = $this->is_payments_task_complete(): bool;

WcPayWelcomePage::is_payments_task_complete() code WC 9.6.0

private function is_payments_task_complete(): bool {
	$payments_task = $this->get_payments_task();

	return ! empty( $payments_task ) && $payments_task->is_complete();
}