From 7c3467d3a59c972e76f51f669671ccc8b48cf18c Mon Sep 17 00:00:00 2001 From: Glauber Silva Date: Thu, 14 Nov 2024 10:29:50 -0300 Subject: [PATCH] chore: remove commented code --- src/FeatureFlags/OptionBasedFormEditor/ServiceProvider.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/FeatureFlags/OptionBasedFormEditor/ServiceProvider.php b/src/FeatureFlags/OptionBasedFormEditor/ServiceProvider.php index 631108637d..25e4b2cd94 100644 --- a/src/FeatureFlags/OptionBasedFormEditor/ServiceProvider.php +++ b/src/FeatureFlags/OptionBasedFormEditor/ServiceProvider.php @@ -34,7 +34,6 @@ public function boot() private function maybeDisableOptionBasedFormEditorSettings() { // General Tab - //Hooks::addFilter('give_get_sections_general', GeneralSettings::class, 'maybeDisableSections', 999); Hooks::addFilter('give_get_settings_general', GeneralSettings::class, 'maybeDisableOptions', 999); // Payment Gateways Tab @@ -47,11 +46,9 @@ private function maybeDisableOptionBasedFormEditorSettings() }); // Default Options Tab - //Hooks::addFilter('give_get_sections_display', DefaultOptionsSettings::class, 'maybeDisableSections', 999); Hooks::addFilter('give_get_settings_display', DefaultOptionsSettings::class, 'maybeDisableOptions', 999); // Advance Tab - //Hooks::addFilter('give_get_sections_advanced', AdvancedSettings::class, 'maybeDisableSections', 999); Hooks::addFilter('give_get_settings_advanced', AdvancedSettings::class, 'maybeDisableOptions', 999); } }