PluginProbe
Hostinger Tools / trunk
Hostinger Tools vtrunk
3.0.78 3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 All 109 releases
← All changes | includes/Cli/Commands/AI.php +3 -1 3.0.67 → trunk View file →
@@ -110,10 +110,12 @@
110 110 default:
111 111 throw new Exception( 'Invalid setting' );
112 112 }
113 113
114 - $plugin_settings->save_plugin_settings( $plugin_options );
114 + $saved_settings = $plugin_settings->save_plugin_settings( $plugin_options );
115 115 $this->clear_lightspeed_cache();
116 +
117 + do_action( 'hostinger_tools_settings_saved', $saved_settings->to_array() );
116 118 }
117 119
118 120 private function get_setting_status( PluginSettings $plugin_settings, string $setting ): bool {
119 121 $plugin_options = $plugin_settings->get_plugin_settings();