apply_filters( 'hivepress/v1/fields/{field_type}', $props, $field ) → {array}
Filters the field properties. The dynamic part of the hook refers to the field type (e.g. textarea
). You can check the available field types in the includes/fields
directory of HivePress.
Parameters:
Name | Type | Description |
---|---|---|
$props |
array | Field properties. |
$field |
object | Field object. |
- Source:
Returns:
Field properties.
- Type
- array