Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
Payments::can_view
Task visibility.
Method of the class: Payments{}
No Hooks.
Returns
true|false.
Usage
$Payments = new Payments(); $Payments->can_view();
Payments::can_view() Payments::can view code WC 10.9.4
public function can_view() {
// The task is always visible.
return true;
}