GravityView  2.1.1
The best, easiest way to display Gravity Forms entries on your website.
Variables
field-gquiz_percent-html.php File Reference

Go to the source code of this file.

Variables

 $display_value = $gravityview->display_value
 The default quiz percentage field output template. More...
 
if(gv_empty( $display_value, false, false)) $format = apply_filters('gravityview/field/quiz_percent/format', '%d%%', $gravityview )
 

Variable Documentation

◆ $display_value

$display_value = $gravityview->display_value

The default quiz percentage field output template.

$gravityview

Since
2.0

Definition at line 8 of file field-gquiz_percent-html.php.

◆ $format

if (gv_empty($display_value, false, false)) $format = apply_filters('gravityview/field/quiz_percent/format', '%d%%', $gravityview )
Runs Filter:
gravityview/field/quiz_percent/format Modify the format of the display of Quiz Score (Percent) field.
See also
http://php.net/manual/en/function.sprintf.php For formatting guide
Parameters
string$formatFormat passed to printf() function. Default d%%, which prints as "{number}%". Notice the double %%, this prints a literal '' character.
Since
2.0
Parameters
\GV\Template_Context$gravityviewThe context.

Definition at line 22 of file field-gquiz_percent-html.php.