| 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
/**
* Fields template for the Entry Print page.
*
* @var object $entry Entry.
* @var array $form_data Form data and settings.
* @var array $fields Fields.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( empty( $fields ) ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo wpforms_render(
'admin/entry-print/no-fields',
[
'entry' => $entry,
'form_data' => $form_data,
],
true
);
return;
}
foreach ( $fields as $field ) {
if ( $field['type'] === 'layout' ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo wpforms_render(
'admin/entry-print/layout-field',
[
'entry' => $entry,
'form_data' => $form_data,
'field' => $field,
],
true
);
continue;
}
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo wpforms_render(
'admin/entry-print/field',
[
'entry' => $entry,
'form_data' => $form_data,
'field' => $field,
],
true
);
}