FAQ - Hook: php_admin_setting_post

Hook: php_admin_setting_post

3968


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

For example:

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