GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
field-is_approved-html.php
Go to the documentation of this file.
1 <?php
2 /**
3  * The default output template for the Is Approved internal field
4  *
5  * @global \GV\Template_Context $gravityview
6  * @since 2.10
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 echo GravityView_Field_Is_Approved::get_output( $gravityview->value, $gravityview->field->as_configuration(), true );
static get_output( $approval_status='', $field_settings=array(), $html=false)
Convert entry approval status value to label in the field output.
gravityview()
The main GravityView wrapper function.