apply_filters( 'torro_use_single_export_column_for_choices', bool $single_column, awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Element_Type $element_type, awsmug\Torro_Forms\DB_Objects\Elements\Element $element )

Filters whether to only render a single column for all choices when exporting submissions.

Description

If this filter returns true, there will only be one column for all choices. In case of an element where multiple choices are seletable, those values will be concatenated.

By default, each choice has its own column.

Parameters

$single_column

(bool) (Optional) Whether to only render a single column for all choices.

$element_type

(awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Element_Type) (Optional) Current element type.

$element

(awsmug\Torro_Forms\DB_Objects\Elements\Element) (Optional) Current element.

Changelog

Changelog
Version Description
1.0.0 Introduced.