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

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

45 lines 950 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @hooked AgeGate\Template\Template::renderFormOpen - 10
5 */
6 do_action('age_gate/form/open');
7
8 // logo
9 do_action('age_gate/logo');
10
11 // subheading
12 do_action('age_gate/headline');
13
14 // messages
15 do_action('age_gate/subheadline');
16
17 if (!$settings->lockout) {
18 // BEFORE custom fields
19 do_action('age_gate/custom/before');
20
21 // INPUTS
22 do_action('age_gate/fields', $settings->inputType);
23
24 // AFTER CUSTOM FIELDS
25 do_action('age_gate/custom/after');
26
27 // remember me
28 do_action('age_gate/remember');
29 }
30
31 do_action('age_gate/errors');
32
33 // SUBMIT
34 if ($settings->inputType !== 'buttons' && !$settings->lockout) {
35 do_action('age_gate/submit');
36 }
37
38 // ADDITIONAL
39 do_action('age_gate/additional');
40
41 /**
42 * @hooked AgeGate\Template\Template::renderFormClose - 10
43 */
44 do_action('age_gate/form/close');
45