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 / public / age-gate.php

age-gate.php in Age Gate 3.7.3, at src/Resources/views/public/age-gate.php

28 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php $this->layout('layouts/' . $settings->method);?>
2 <?php //$this->layout('layouts/standard');?>
3
4 <div <?php echo $this->attr('age-gate-wrapper'); ?>><?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
5 <?php if ($settings->method === 'js') : ?>
6 <?php $this->insert('theme::partials/decoration/loader'); ?>
7 <?php endif; ?>
8 <div <?php echo $this->attr('age-gate-background-colour'); ?>></div><?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
9 <div <?php echo $this->attr('age-gate-background'); ?>><?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
10 <?php do_action('age_gate/form/background', $settings->backgroundImage) ?>
11 </div>
12 <?php do_action('age_gate/before'); ?>
13
14 <div <?php echo $this->attr('age-gate'); ?>><?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
15 <?php
16 do_action('age_gate/form/before');
17
18 /**
19 * @hooked AgeGate\ - 10
20 */
21 do_action('age_gate/form');
22
23 do_action('age_gate/form/after');
24 ?>
25 </div>
26 <?php do_action('age_gate/after'); ?>
27 </div>
28