| 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 |
|