FAQ - Hook: php_admin_setting_post

FAQ - Hook: php_admin_setting_post

1218


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

For example:

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