Skip to main content

Filter: gravityview/fields/date/hide_epoch

Whether to hide values that match the Unix Epoch date (1970-01-01) from the output.

Parameters

NameTypeDescription
$hide_epochboolTrue: hide values that are 1970-01-01. False: show the value. Default: true.
$gravityview\GV\Template_ContextThe $gravityview context object.

Since

  • 2.0: Added $gravityview parameter.

Source

  • Defined in templates/fields/field-date.php at line 34
  • Defined in templates/deprecated/fields/date.php at line 25