Merge pull request #8536 from vicky081/patch-3
Class attribute added for Checkbox in settings
This commit is contained in:
commit
c4c2ebd038
|
@ -464,6 +464,7 @@ class WC_Admin_Settings {
|
|||
name="<?php echo esc_attr( $value['id'] ); ?>"
|
||||
id="<?php echo esc_attr( $value['id'] ); ?>"
|
||||
type="checkbox"
|
||||
class="<?php echo esc_attr(isset($value['class']) ? $value['class'] : ''); ?>"
|
||||
value="1"
|
||||
<?php checked( $option_value, 'yes'); ?>
|
||||
<?php echo implode( ' ', $custom_attributes ); ?>
|
||||
|
|
Loading…
Reference in New Issue