Description

The wpforms_radio_field_html_value_images filter is used to hide the Image Choices from the email notification when using the Multiple Choice form field.

Parameters

$value_images
(bool) (Required) Determines to show or hide images inside email notifications. Default is true (to show).

Source

wpforms/includes/fields/class-radio.php

More Information

The wpforms_radio_field_html_value_images filter can be used to hide the image choices inside the email notification for the Multiple Choice form field.

Similarly, the wpforms_checkbox_field_html_value_images filter is used in the same way when using the Checkbox form field. As well as the wpforms_payment-multiple_field_html_value_images is used for the Multiple Items payment field and the wpforms_payment-checkbox_field_html_value_images is used for the Checkbox Items payment field.

Example

/*
 * Filter to hide the image choices from Multiple Choice field
 *
 * @link https://wpforms.com/developers/wpforms_radio_field_html_value_images/
 *
 * @param $value_images  Default is false.
 * @return bool 
 */

add_filter( 'wpforms_radio_field_html_value_images', '__return_false' );

Snippet Reference: How to Hide Image Choices in Notification Emails