# age-gate/3.7.3/src/Bootstrap.php

Age Gate, version 3.7.3. 40 lines.

- Page: https://pluginprobe.com/plugins/age-gate/3.7.3/code/src/Bootstrap.php
- Raw: https://pluginprobe.com/plugins/age-gate/3.7.3/raw/src/Bootstrap.php
- Modified: 2025-07-01T20:34:26+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/Bootstrap.php#L10-L20`.

```php
<?php

use AgeGate\App\I18n;
use AgeGate\Admin\Ajax;
use AgeGate\Admin\Admin;
use AgeGate\App\AgeGate;
use AgeGate\Admin\Update;
use AgeGate\Enqueue\Enqueue;
use AgeGate\Legacy\Deprecated;
use AgeGate\Legacy\Check as LegacyCheck;
use AgeGate\Routes\Rest\Check;
use AgeGate\Shortcode\Shortcode;
use AgeGate\Presentation\Template;
use AgeGate\Routes\Rest\Admin\Term;

add_action('wp', function() {
    if (apply_filters('age_gate/include_deprecated_hooks', false) === true) {
        new Deprecated;
    }
}, 0);

new Admin;
new Ajax;
new Update;

new AgeGate;
new I18n;

new Template;

new Check;
new LegacyCheck;

new Term;

new Shortcode;

new Enqueue;


```
