| @@ -58,9 +58,8 @@ | ||
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | private function set_locale() { |
| 62 | - | |
| 63 | 62 | $plugin_i18n = new I18n(); |
| 64 | 63 | $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' ); |
| 65 | 64 | } |
| 66 | 65 | |
| @@ -116,8 +115,9 @@ | ||
| 116 | 115 | } |
| 117 | 116 | |
| 118 | 117 | private function load_public_dependencies(): void { |
| 119 | 118 | new PreviewAssets(); |
| 119 | + new Hooks(); | |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | private function load_onboarding_dependencies(): void { |
| 123 | 123 | if ( ! OnboardingSettings::all_steps_completed() ) { |