Initial Commit

This commit is contained in:
David Stone
2024-11-30 18:24:12 -07:00
commit e8f7955c1c
5432 changed files with 1397750 additions and 0 deletions

View File

@ -0,0 +1,50 @@
<?php
/**
* Checkbox field view.
*
* @since 2.0.0
*/
?>
<div class="wu-my-6">
<div class="wu-flex">
<div class="wu-w-1/3">
<label for="<?php echo esc_attr($field->id); ?>">
<?php echo $field->title; ?>
</label>
</div>
<div class="wu-w-2/3">
<label for="<?php echo esc_attr($field->id); ?>">
<input type='hidden' value='0' name="<?php echo esc_attr($field->id); ?>">
<input <?php checked(wu_get_setting($field_slug)); ?> name="<?php echo esc_attr($field->id); ?>" type="<?php echo esc_attr($field->type); ?>" id="<?php echo esc_attr($field->id); ?>" value="1">
<?php echo $field->title; ?>
</label>
<?php if ($field->desc) : ?>
<p class="description" id="<?php echo $field->id; ?>-desc">
<?php echo $field->desc; ?>
</p>
<?php endif; ?>
</div>
</div>
<?php // if (isset($field['tooltip'])) {echo WU_Util::tooltip($field['tooltip']);} ?>
</div>