mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
add tooltip
This commit is contained in:
parent
4dadd6143f
commit
23ce2c6c09
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ class SettingsRenderer
|
|||
<label
|
||||
for="<?php echo esc_attr($id); ?>"
|
||||
><?php echo esc_html($config['title']); ?></label>
|
||||
<?php if (isset($config['desc_tip'])) : ?>
|
||||
<span class="woocommerce-help-tip" data-tip="<?php echo esc_attr($config['description']); ?>"></span>
|
||||
<?php
|
||||
unset($config['description']);
|
||||
endif;
|
||||
?>
|
||||
</th>
|
||||
<td><?php
|
||||
if ($config['type'] === 'ppcp-text' ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue