_comment.php
1 day ago
_db.php
1 day ago
_hidden.php
1 day ago
_label.php
1 day ago
_row.php
1 day ago
attachment.php
1 day ago
checkbox.php
1 day ago
cleditor.php
1 day ago
codemirror.php
1 day ago
color.php
1 day ago
currency.php
1 day ago
date.php
1 day ago
datetime.php
1 day ago
email.php
1 day ago
link.php
1 day ago
number.php
1 day ago
oembed.php
1 day ago
password.php
1 day ago
phone.php
1 day ago
radio.php
1 day ago
select.php
1 day ago
slider.php
1 day ago
slug.php
1 day ago
text.php
1 day ago
textarea.php
1 day ago
time.php
1 day ago
tinymce.php
1 day ago
website.php
1 day ago
_hidden.php
16 lines
| 1 | <?php |
| 2 | // Don't load directly. |
| 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | die( '-1' ); |
| 5 | } |
| 6 | |
| 7 | if ( is_array( $value ) ) { |
| 8 | $value = implode( ',', $value ); |
| 9 | } |
| 10 | $attributes = array(); |
| 11 | $attributes['type'] = 'hidden'; |
| 12 | $attributes['value'] = $value; |
| 13 | $attributes = PodsForm::merge_attributes( $attributes, $name, $form_field_type, $options ); |
| 14 | ?> |
| 15 | <input<?php PodsForm::attributes( $attributes, $name, $form_field_type, $options ); ?> /> |
| 16 |