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.
Replace [type] in the hook with the name of the field type. This adds settings into the field-specific section in the field settings.
add_action( 'frm_radio_primary_field_options', 'add_custom_field_settings' ); function add_custom_field_settings( $args )
- $args (array)
- 'field' (array)
- 'display' (array) - A list of field options that should be shown for the current field.
- 'values' (array) - Details about the form.