mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-12 01:18:39 +08:00
Add tooltip description to gateway settings fields
This commit is contained in:
parent
7f8ce720e0
commit
b05d15437f
1 changed files with 6 additions and 0 deletions
|
@ -91,16 +91,22 @@ class PayUponInvoiceGateway extends WC_Payment_Gateway {
|
|||
'type' => 'checkbox',
|
||||
'label' => __( 'Pay upon Invoice', 'woocommerce-paypal-payments' ),
|
||||
'default' => 'no',
|
||||
'desc_tip' => true,
|
||||
'description' => __('Enable/Disable Pay Upon Invoice payment gateway.', 'woocommerce-paypal-payments'),
|
||||
),
|
||||
'title' => array(
|
||||
'title' => __( 'Title', 'woocommerce-paypal-payments' ),
|
||||
'type' => 'text',
|
||||
'default' => $this->title,
|
||||
'desc_tip' => true,
|
||||
'description' => __('This controls the title which the user sees during checkout.', 'woocommerce-paypal-payments'),
|
||||
),
|
||||
'description' => array(
|
||||
'title' => __( 'Description', 'woocommerce-paypal-payments' ),
|
||||
'type' => 'text',
|
||||
'default' => $this->description,
|
||||
'desc_tip' => true,
|
||||
'description' => __('This controls the descriptiong which the user sees during checkout.', 'woocommerce-paypal-payments'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue