GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
type_hidden.php
Go to the documentation of this file.
1 <?php
2 /**
3  * text input type
4  */
6 
7  function render_option() {
8  $this->render_input();
9  }
10 
11  function render_input( $override_input = null ) {
12 
13  if( isset( $override_input ) ) {
14  echo $override_input;
15  return;
16  }
17 
18  $class = !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat';
19 
20  ?>
21  <input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" type="hidden" value="<?php echo esc_attr( $this->value ); ?>" class="<?php echo esc_attr( $class ); ?>" />
22  <?php
23  }
24 
25 }
26 
27 
28 
$class
render_input($override_input=null)
Definition: type_hidden.php:11
Modify option field type by extending this class.