Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Add extra settings in the 'Default Value' section in the field settings.
Usage
add_action( 'frm_default_value_setting', 'add_custom_field_setting' ); function add_custom_field_setting( $args )
Parameters
- $args (array)
- 'field' (array)
- 'display' (array) - A list of field options that should be shown for the current field.
- 'default_value_types' (array) - The types of default values this field allows.
Examples
There are currently no examples for this hook.