Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
WooCommercePayments::can_view
Task visibility.
Method of the class: WooCommercePayments{}
No Hooks.
Returns
bool.
Usage
$WooCommercePayments = new WooCommercePayments(); $WooCommercePayments->can_view();
WooCommercePayments::can_view() WooCommercePayments::can view code WC 11.2.2
public function can_view() {
return self::is_supported();
}