Skip to main content

Filter: gk/gravitymath/datatables/visible/hidden-fields

Whether scope="visible" totals in a DataTables View's Custom Content widgets may follow the table when they read fields the table does not show as columns.

A visitor can show one row at a time, so such a total reveals each row's value of those fields. Off by default: those totals render as before (usually empty).

Parameters​

NameTypeDescription
$allowedboolWhether the totals follow the table. Default: false.
$view\ViewThe View.
$fieldsstring[]The field or input IDs the totals read that the table does not show.

Since​

  • 2.14.0

Source​

Defined in includes/class-gravitymath-datatables-visible.php at line 1722