# age-gate/3.7.3/src/Integration/Customizer.php

Age Gate, version 3.7.3. 24 lines.

- Page: https://pluginprobe.com/plugins/age-gate/3.7.3/code/src/Integration/Customizer.php
- Raw: https://pluginprobe.com/plugins/age-gate/3.7.3/raw/src/Integration/Customizer.php
- Modified: 2024-10-23T07:59:36+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/Integration/Customizer.php#L10-L20`.

```php
<?php

namespace AgeGate\Integration;

use AgeGate\Common\Settings;
use AgeGate\Common\Integration;

class Customizer extends Integration
{
    public function exists()
    {
        return is_customize_preview();
    }

    public function init()
    {
        if ($this->exists()) {
            $settings = Settings::getInstance();
            $settings->set('isBuilder', true);
            // $settings->isBuilder = true;
        }
    }
}

```
