Automattic\WooCommerce\Blocks\Domain\Services\OnboardingTasks

ReviewCheckoutTask::can_view()publicWC 1.0

Task visibility.

Method of the class: ReviewCheckoutTask{}

No Hooks.

Return

true|false.

Usage

$ReviewCheckoutTask = new ReviewCheckoutTask();
$ReviewCheckoutTask->can_view();

ReviewCheckoutTask::can_view() code WC 9.0.1

public function can_view() {
	return $this->has_cart_or_checkout_block();
}