AbstractOptionBasedFormEditorSettings.php
1 year ago
Advanced.php
1 year ago
DefaultOptions.php
1 year ago
General.php
1 year ago
General.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\FeatureFlags\OptionBasedFormEditor\Settings; |
| 4 | |
| 5 | /** |
| 6 | * @since 3.18.0 |
| 7 | */ |
| 8 | class General extends AbstractOptionBasedFormEditorSettings |
| 9 | { |
| 10 | /** |
| 11 | * @since 3.18.0 |
| 12 | */ |
| 13 | public function getDisabledOptionIds(): array |
| 14 | { |
| 15 | return [ |
| 16 | // General Section |
| 17 | 'override_legacy_donation_management_pages', |
| 18 | // Currency Section |
| 19 | 'auto_format_currency', |
| 20 | 'currency_position', |
| 21 | 'thousands_separator', |
| 22 | 'decimal_separator', |
| 23 | 'number_decimals', |
| 24 | 'currency_preview', |
| 25 | // Access-control |
| 26 | 'session_lifetime', |
| 27 | 'limit_display_donations', |
| 28 | ]; |
| 29 | } |
| 30 | } |
| 31 |