PluginProbe
Age Gate / trunk
Age Gate vtrunk
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 1.4.9 All 112 releases
age-gate / src / Bootstrap.php

Bootstrap.php in Age Gate trunk, at src/Bootstrap.php

40 lines 655 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use AgeGate\App\I18n;
4 use AgeGate\Admin\Ajax;
5 use AgeGate\Admin\Admin;
6 use AgeGate\App\AgeGate;
7 use AgeGate\Admin\Update;
8 use AgeGate\Enqueue\Enqueue;
9 use AgeGate\Legacy\Deprecated;
10 use AgeGate\Legacy\Check as LegacyCheck;
11 use AgeGate\Routes\Rest\Check;
12 use AgeGate\Shortcode\Shortcode;
13 use AgeGate\Presentation\Template;
14 use AgeGate\Routes\Rest\Admin\Term;
15
16 add_action('wp', function() {
17 if (apply_filters('age_gate/include_deprecated_hooks', false) === true) {
18 new Deprecated;
19 }
20 }, 0);
21
22 new Admin;
23 new Ajax;
24 new Update;
25
26 new AgeGate;
27 new I18n;
28
29 new Template;
30
31 new Check;
32 new LegacyCheck;
33
34 new Term;
35
36 new Shortcode;
37
38 new Enqueue;
39
40