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 9.9.5
public function can_view() { // The task is always visible. return true; }