Description
The wpforms_fields_show_options_setting
filter used to Show Values on Dropdown, Checkboxes and Multiple Choice fields inside the form builder.
Parameters
- $show_value
- (bool) Determines whether the Show Values will display, default is true (to show).
Source
wpforms/includes/functions/form-fields.php
More Information
The filter can be used to Show Values for select, radio and dropdown fields.
Example
You would just need to add this code to your site. If you need help in adding snippets to your site, please check out this tutorial.
/** * Show value field for radio, checkbox, and dropdown fields on all forms. * * @link https://wpforms.com/developers/wpforms_fields_show_options_setting/ * * @param bool $show_value Default is false. * @return bool */ add_filter( 'wpforms_fields_show_options_setting', '__return_true' );
Related
Article References: