base.html.php
4 years ago
checkbox.html.php
4 years ago
file.html.php
4 years ago
hidden.html.php
4 years ago
html.html.php
4 years ago
label-content.html.php
4 years ago
label.html.php
4 years ago
radio.html.php
4 years ago
select.html.php
4 years ago
textarea.html.php
4 years ago
hidden.html.php
11 lines
| 1 | <?php /** @var Give\Framework\FieldsAPI\Hidden $field */ ?> |
| 2 | <?php /** @var string $fieldIdAttribute */ ?> |
| 3 | <input |
| 4 | type="hidden" |
| 5 | name="<?php echo $field->getName(); ?>" |
| 6 | id="<?php echo $fieldIdAttribute; ?>" |
| 7 | <?php if ( $value = $field->getDefaultValue() ) : ?> |
| 8 | value="<?php echo esc_attr( $value ); ?>" |
| 9 | <?php endif; ?> |
| 10 | /> |
| 11 |