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.
This hook allows modifying the excluded field IDs used in the entry values.
Usage
add_filter( 'frm_entry_values_exclude_fields', 'specify_include_fields');
Parameters
- $field_ids (array): The list of field IDs
- $atts (array): You can check method FrmEntryFormatter::prepare_entry_attributes() for more details
Examples
Specify a field to exclude
add_filter( 'frm_entry_values_exclude_fields', 'specify_exclude_fields', 10, 2 );
function specify_exclude_fields( $field_ids, $atts ) {
$field_ids[] = 3013;
return $field_ids;
}