Hook: php_admin_setting_post

1073

Use this hook to execute PHP code in the admin/setting.php file.

For example:

if ($defaults['jak_lang'] == '') { $errors['e6'] = $tl['error']['e29']; }