| 1 |
<?php defined( 'ABSPATH' ) or die; |
| 2 |
/* @var PixCustomifyFormField $field */ |
| 3 |
/* @var PixCustomifyForm $form */ |
| 4 |
/* @var mixed $default */ |
| 5 |
/* @var string $name */ |
| 6 |
/* @var string $idname */ |
| 7 |
/* @var string $label */ |
| 8 |
/* @var string $desc */ |
| 9 |
/* @var string $rendering */ |
| 10 |
|
| 11 |
// [!!] the counter field needs to be able to work inside other fields; if |
| 12 |
// the field is in another field it will have a null label |
| 13 |
|
| 14 |
$selected = $form->autovalue( $name, $default ); |
| 15 |
|
| 16 |
$config = apply_filters('customify_filter_fields', array() ); |
| 17 |
|
| 18 |
$key = $config[ 'opt-name' ]; |
| 19 |
|
| 20 |
$mods = get_theme_mods(); |
| 21 |
|
| 22 |
$option = get_option( 'pixcustomify_settings' ); |
| 23 |
|
| 24 |
$attrs = array( |
| 25 |
'type' => 'checkbox', |
| 26 |
); ?> |
| 27 |
<div class="reset_customify_theme_mod"> |
| 28 |
<div class="button" id="reset_theme_mods"><?php esc_html_e( 'Reset Customizer Settings', 'customify' ); ?></div> |
| 29 |
</div> |
| 30 |
<br> |
| 31 |
<div class="field-desc"><?php esc_html_e('Resets all the Customizer settings introduced by this plugin. It will NOT reset core Customizer settings or plugin settings.'); ?></div> |
| 32 |
|