| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/stirizo/wp-content/plugins/wpforms/pro/templates/admin/entry-print/ |
Upload File : |
<?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</label></div>',
esc_attr( $choice_type ),
$is_checked ? ' field-value-choice-checked' : '',
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
$is_checked ? ' checked' : '',
esc_html( $choice['label'] )
);