Skip to main content

Filter: gravityview/datatables/field_filters/placeholder

Modifies the placeholder text used in the per-field filters.

The %s placeholder is replaced by the $field label, fetched using {@see \GV\GF_Field::get_label()}. HTML tags are ignored; the value grabbed by jQuery.text() will be used

Parameters

NameTypeDescription
$filter_placeholderstringThe placeholder text.
$field_labelstringThe field label.
$field\GV\GF_FieldThe field object.
$form\GF_FormThe form object.
$view\ViewThe view object.

Since

  • 3.0

Source

Defined in includes/class-datatables-field-filters.php at line 356