Skip to main content

Filter: gravityview/field/quiz_percent/format

Modify the format of the display of Quiz Score (Percent) field.

Parameters

NameTypeDescription
$formatstringFormat passed to printf() function. Default %d%%, which prints as "{number}%". Notice the double %%, this prints a literal '%' character.
$gravityview\GV\Template_ContextThe context.

See Also

Since

Source

  • Defined in templates/fields/field-gquiz_percent-html.php at line 29
  • Defined in templates/deprecated/fields/gquiz_percent.php at line 22