Skip to content

Commit

Permalink
chore: remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubersilva committed Nov 14, 2024
1 parent af1cd45 commit 7c3467d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/FeatureFlags/OptionBasedFormEditor/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
}
}

0 comments on commit 7c3467d

Please sign in to comment.