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.
If you're using a shortcode that retrieves data for a dynamic field with separated values, you can use this filter to pull the value instead of the label.
Usage
add_filter( 'frm_should_dynamic_field_use_option_label', '__return_false' );
Parameters
- $field (object): The target dynamic field.
Examples
Basic example
Using this code example, you can modify the code behavior to return the value globally.
add_filter( 'frm_should_dynamic_field_use_option_label', '__return_false' );