# age-gate/3.7.3/src/Resources/views/admin/partials/fields/message.php

Age Gate, version 3.7.3. 14 lines.

- Page: https://pluginprobe.com/plugins/age-gate/3.7.3/code/src/Resources/views/admin/partials/fields/message.php
- Raw: https://pluginprobe.com/plugins/age-gate/3.7.3/raw/src/Resources/views/admin/partials/fields/message.php
- Modified: 2025-03-27T08:14:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/age-gate/3.7.3/code/src/Resources/views/admin/partials/fields/message.php#L10-L20`.

```php
<?php $this->layout('partials/fields/wrapper', ['field' => $field, 'lang' => $lang ?? false]) ?>

<?php $this->start('input') ?>

    <?php echo wp_kses_post(wpautop(esc_html($field['message'] ?? ''))) ?>

    <?php if ($field['suboption'] ?? false) : ?>
        <p><?php echo esc_html(__('Your previous styles are below if anything is missing.', 'age-gate')) ?> <button class="button-link ag-remove-legacy-css" type="button" data-id="<?php echo esc_attr(wp_create_nonce('ag_clear_css')) ?>"><?php echo esc_html(__('Remove legacy styles', 'age-gate')) ?></button></p>
        <pre><code class="language-css"><?php echo esc_html(trim($field['suboption'])) ?></code></pre>

    <?php endif; ?>

<?php $this->stop() ?>

```
