Skip to main content

Filter: gravityview/import/parse/excerpt

Filters the number of rows to analyze during the parsing phase.

The excerpt size determines how many rows are scanned to detect column types and build field mapping hints during the parsing phase.

Parameters

NameTypeDescription
$excerpt_sizeintThe number of rows to analyze. Includes headers. Default 51.
$batcharrayThe batch data.

Since

  • 2.0
  • 2.6.1: Increased default from 20 to 51 to show 50 data rows in preview (plus 1 header row).

Source

Defined in src/Processor.php at line 444