apply_filters( 'mc_custom_fields', $input_fields, $has_data, $data, $public, $form_id ) → {array}
Set up custom fields to a form that are sortable in Pro.
Parameters:
Name | Type | Description |
---|---|---|
$input_fields |
array | Array of fields to add. |
$has_data |
bool | Boolean indicating whether the current event is populated. |
$data |
object | Event object. |
$public |
string | 'public' indicating that this is the public display of these fields. |
$form_id |
string | Form ID. |
- Source:
Returns:
- Type
- array