Skip to main content

Filter: gravityview/template/field/class

Filter the template class that is about to be used to render the view.

Parameters

NameTypeDescription
$classstringThe chosen class - Default: \GV\Field_HTML_Template.
$field\GV\FieldThe field about to be rendered.
$view\GV\ViewThe view in this context, if applicable.
$source\GV\SourceThe source (form) in this context, if applicable.
$entry\GV\EntryThe entry in this context, if applicable.
$request\GV\RequestThe request in this context, if applicable.

Since

  • 2.0

Source

Defined in src/Renderer/FieldRenderer.php at line 69