gpeb_filter_fields_preserve_type

  1. Description
  2. Usage
  3. Parameters

Description

Filter the input types that should be preserved. For example, Email fields are not preserved by default so they would be converted to a Single Line Text field. Checkbox fields are preserved, so they will be rendered as checkboxes.

Usage

Applied globally

add_filter( 'gpeb_filter_fields_preserve_type', 'my_custom_function' );

Parameters

$input_types_to_preserve array

The input types to preserve.