1 | <?php |
||
17 | class EE_Bootstrap |
||
18 | { |
||
19 | |||
20 | |||
21 | /** |
||
22 | * load_espresso_addons |
||
23 | * runs during the WP 'plugins_loaded' action at priority 1 |
||
24 | * and is the initial loading phase for EE addons |
||
25 | * no other logic should be performed at this point |
||
26 | */ |
||
27 | public static function load_espresso_addons() |
||
31 | |||
32 | |||
33 | |||
34 | /** |
||
35 | * detect_activations_or_upgrades |
||
36 | * runs during the WP 'plugins_loaded' action at priority 3 |
||
37 | * Now that all of the addons have been loaded, |
||
38 | * we can determine if anything needs activating or upgrading |
||
39 | */ |
||
40 | public static function detect_activations_or_upgrades() |
||
44 | |||
45 | |||
46 | |||
47 | /** |
||
48 | * load_core_configuration |
||
49 | * runs during the WP 'plugins_loaded' action at priority 5 |
||
50 | * Now that the database is assumed to be at the correct version |
||
51 | * we can load and set all of the system configurations |
||
52 | */ |
||
53 | public static function load_core_configuration() |
||
57 | |||
58 | |||
59 | |||
60 | /** |
||
61 | * register_shortcodes_modules_and_widgets |
||
62 | * runs during the WP 'plugins_loaded' action at priority 7 |
||
63 | * and handles registering all o four shortcodes, modules and widgets |
||
64 | * so that they are ready to be used throughout the system |
||
65 | */ |
||
66 | public static function register_shortcodes_modules_and_widgets() |
||
70 | |||
71 | |||
72 | |||
73 | /** |
||
74 | * brew_espresso |
||
75 | * runs during the WP 'plugins_loaded' action at priority 9 |
||
76 | * bootstrapping is considered complete at this point, |
||
77 | * so let the fun begin... |
||
78 | */ |
||
79 | public static function brew_espresso() |
||
83 | |||
84 | |||
85 | |||
86 | /** |
||
87 | * @deprecated 4.9.53 |
||
88 | */ |
||
89 | public function run_request_stack() |
||
92 | |||
93 | |||
94 | |||
95 | /** |
||
96 | * @deprecated 4.9.53 |
||
97 | */ |
||
98 | public function build_request_stack() |
||
101 | |||
102 | } |
||
103 | // End of file EE_Bootstrap.core.php |
||
105 |