HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //home/globfdxw/www/wp-content/plugins/wpforms/pro/templates/admin/entry-print/choice.php
<?php
/**
 * 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-%1$s%2$s"><label><input type="%1$s"%3$s disabled>%4$s%5$s</label></div>',
	esc_attr( $choice_type ),
	$is_checked ? ' field-value-choice-checked' : '',
	// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	$is_checked ? ' checked' : '',
	wp_kses_post( $choice['label'] ),
	! empty( $choice['is_other'] ) && $is_checked && isset( $choice['other_value'] ) ?
		sprintf( ': %s', esc_html( $choice['other_value'] ) )
		: ''
);