# age-gate/3.7.3/src/Legacy/Validation.php

Age Gate, version 3.7.3. 14 lines.

- Page: https://pluginprobe.com/plugins/age-gate/3.7.3/code/src/Legacy/Validation.php
- Raw: https://pluginprobe.com/plugins/age-gate/3.7.3/raw/src/Legacy/Validation.php
- Modified: 2022-09-11T18:42: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/Legacy/Validation.php#L10-L20`.

```php
<?php

use AgeGate\Common\Form\Validation;

if (!class_exists('Age_Gate_Validation')) {
    class Age_Gate_Validation extends Validation
    {
        public static function add_validator($rule, $callback, $error = 'Unknown error')
        {
            parent::add_validator($rule, $callback, $error);
        }
    }
}

```
