PluginProbe
Age Gate / 3.7.3
Age Gate v3.7.3
3.7.3 trunk 1.0.0 1.0.1 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 All 113 releases
age-gate / src / Resources / views / admin / partials / fields / wrapper.php

wrapper.php in Age Gate 3.7.3, at src/Resources/views/admin/partials/fields/wrapper.php

21 lines 893 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="ag-field ag-field--<?php echo esc_attr($field['type']) ?> <?php echo esc_attr($field['wrapper']['class'] ?? '') ?>">
2 <?php if ($field['translate'] ?? false) : ?>
3 <?php $this->insert('partials/global/flag', [
4 'lang' => $lang ?? false,
5 'name' => '',
6 ]) ?>
7 <?php endif; ?>
8
9 <?php echo $this->section('input') // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
10
11 <?php if ($field['tooltip'] ?? false) : ?>
12 <span data-ag-tooltip="<?php echo esc_html($field['tooltip']) ?>">
13 <i class="ag-tooltip dashicons dashicons-editor-help"></i>
14 </span>
15 <?php endif; ?>
16
17 <?php if ($field['subtext'] ?? false) : ?>
18 <p class="ag-small"><?php echo $this->md(esc_html($field['subtext'])) // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p>
19 <?php endif; ?>
20 </div>
21