GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-field-html.php
Go to the documentation of this file.
1 <?php
2 /**
3  * @file class-gravityview-field-html.php
4  * @package GravityView
5  * @subpackage includes\fields
6  */
7 
8 /**
9  * Add custom options for HTML field
10  */
12 
13  var $name = 'html';
14 
15  var $is_searchable = false;
16 
17  var $is_sortable = false;
18 
19  var $_gf_field_class_name = 'GF_Field_HTML';
20 
21  var $group = 'standard';
22 
23  public function __construct() {
24  $this->label = esc_html__( 'HTML', 'gravityview' );
25  parent::__construct();
26  }
27 
28  function field_options( $field_options, $template_id, $field_id, $context, $input_type ) {
29 
30  unset ( $field_options['search_filter'], $field_options['show_as_link'] );
31 
32  return $field_options;
33  }
34 
35 }
36 
Modify field settings by extending this class.
new GravityView_Field_HTML
field_options($field_options, $template_id, $field_id, $context, $input_type)
$field_id
Definition: time.php:17
Add custom options for HTML field.