# age-gate/3.7.3/src/Admin/Settings/Tools.php

Age Gate, version 3.7.3. 38 lines.

- Page: https://pluginprobe.com/plugins/age-gate/3.7.3/code/src/Admin/Settings/Tools.php
- Raw: https://pluginprobe.com/plugins/age-gate/3.7.3/raw/src/Admin/Settings/Tools.php
- Modified: 2025-03-27T08:14:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/age-gate/3.7.3/code/src/Admin/Settings/Tools.php#L10-L20`.

```php
<?php

namespace AgeGate\Admin\Settings;

trait Tools
{
    protected function getToolsFields()
    {
        return [
            [
                'title' => 'Disable Age Gate',
                'subtitle' => '',
                'fields' => [
                    'disable_age_gate' => [
                        'type' => 'checkbox',
                        'label' => __('Disable Age Gate', 'age-gate'),
                        'default' => false,
                        'subtext' => __('Disable all Age Gates to users', 'age-gate'),
                    ],
                ]
            ],
            [
                'title' => 'Developer options',
                'subtitle' => '',
                'fields' => [

                    'feedback' => [
                        'type' => 'checkbox',
                        'label' => __('Send feedback', 'age-gate'),
                        'default' => false,
                        'subtext' => __('Occasionally send settings information to the developers', 'age-gate'),
                    ],
                ]
            ],
        ];
    }
}

```
