GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
field-html-html.php
Go to the documentation of this file.
1 <?php
2 /**
3  * The default HTML field output template.
4  *
5  * @global \GV\Template_Context $gravityview
6  * @since 2.0
7  */
8 
9 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
10  gravityview()->log->error( '{file} template loaded without context', array( 'file' => __FILE__ ) );
11  return;
12 }
13 
14 $field = $gravityview->field->field;
15 $form = $gravityview->view->form->form;
16 $entry = $gravityview->entry->as_entry();
17 
static replace_variables( $text, $form=array(), $entry=array(), $url_encode=false, $esc_html=true, $nl2br=true, $format='html', $aux_data=array())
Alias for GravityView_Merge_Tags::replace_variables()
Definition: class-api.php:118
if(! isset( $gravityview)||empty( $gravityview->template)) $field
The default HTML field output template.
gravityview()
The main GravityView wrapper function.