Description

A 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/class-frontend.php

More Information

The wpforms_fields_show_options_setting 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' );

Tutorial Reference: How to Add Field Values for Dropdown, Checkboxes, and Multiple Choice Fields