$classes_wrap An array of classes for the switch wrap. * @var array $classes_input An array of classes for the switch input. * @var array $classes_label An array of classes for the switch label. * @var string $name Name attribute for the switch input. * @var string|int $value The value of the switch. * @var string|int $checked Whether the switch is enabled or not. * @var array $attrs Associative array of attributes of the switch. */ $switch_wrap_classes = [ 'tribe-common-control', 'tribe-common-control--switch' ]; if ( ! empty( $classes_wrap ) ) { $switch_wrap_classes = array_merge( $switch_wrap_classes, $classes_wrap ); } $switch_input_classes = [ 'tribe-common-switch__input' ]; if ( ! empty( $classes_input ) ) { $switch_input_classes = array_merge( $switch_input_classes, $classes_input ); } $switch_label_classes = [ 'tribe-common-switch__label' ]; if ( ! empty( $classes_label ) ) { $switch_label_classes = array_merge( $switch_label_classes, $classes_label ); } ?>
> id="" name="" type="checkbox" value="" />