mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add TodoDefinition for working capital
This commit is contained in:
parent
3587074bab
commit
b97da8dda0
1 changed files with 10 additions and 0 deletions
|
@ -227,6 +227,16 @@ class TodosDefinition {
|
|||
),
|
||||
'priority' => 13,
|
||||
),
|
||||
'apply_for_working_capital' => array(
|
||||
'title' => __( 'Start you PayPal Working Capital application', 'woocommerce-paypal-payments' ),
|
||||
'description' => __( 'hey, you are eligible for credit. Click here to learn more and sign up', 'woocommerce-paypal-payments' ),
|
||||
'isEligible' => $eligibility_checks['apply_for_working_capital'],
|
||||
'action' => array(
|
||||
'type' => 'external',
|
||||
'url' => 'http://example.com/',
|
||||
),
|
||||
'priority' => 14,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue