File tree 2 files changed +9
-2
lines changed 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class framework {
16
16
(include __DIR__ . '/module-loader.php ' )(new class {
17
17
18
18
public $ name = 'tangible_framework ' ;
19
- public $ version = '20250415 ' ;
19
+ public $ version = '20250511 ' ;
20
20
21
21
function load () {
22
22
Original file line number Diff line number Diff line change @@ -246,7 +246,14 @@ class="tangible-plugin-settings-tab <?php echo $name; ?>-settings-tab <?php echo
246
246
&& check_admin_referer ($ nonce_key , $ nonce_key )
247
247
) {
248
248
$ new_settings = $ _POST [$ settings_key ];
249
- framework \update_plugin_settings ($ plugin , $ new_settings );
249
+
250
+ $ update_value = apply_filters ('tangible_plugin_save_settings_on_submit ' ,
251
+ true , $ plugin , $ new_settings
252
+ );
253
+
254
+ if ($ update_value ) {
255
+ framework \update_plugin_settings ($ plugin , $ new_settings );
256
+ }
250
257
}
251
258
252
259
/**
You can’t perform that action at this time.
0 commit comments