| 1 |
<?php |
| 2 |
|
| 3 |
use AgeGate\Common\Form\Validation; |
| 4 |
|
| 5 |
if (!class_exists('Age_Gate_Validation')) { |
| 6 |
class Age_Gate_Validation extends Validation |
| 7 |
{ |
| 8 |
public static function add_validator($rule, $callback, $error = 'Unknown error') |
| 9 |
{ |
| 10 |
parent::add_validator($rule, $callback, $error); |
| 11 |
} |
| 12 |
} |
| 13 |
} |
| 14 |
|