File: /home/cpt/public_html/wp-content/plugins/wpforms/pro/templates/admin/entry-print/image-choice.php
<?php
/**
* Image choice template for the Entry Print page.
*
* @var object $entry Entry.
* @var array $form_data Form data and settings.
* @var array $field Entry field.
* @var string $choice_type Checkbox or radio.
* @var bool $is_checked Is the choice checked?
* @var array $choice Choice data.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
printf(
'<div class="field-value-choice field-value-choice-image field-value-choice-%1$s%2$s">
<div class="field-value-choice-image-wrapper"><img src="%3$s" alt="%4$s"/></div><div>%4$s</div>
</div>',
esc_attr( $choice_type ),
$is_checked ? ' field-value-choice-checked' : '',
esc_url( $choice['image'] ),
esc_html( $choice['label'] )
);