How can I add function calls to my plugin’s options.php default submit routine?

If you are using the Settings API, then I’d say to add a check and function call for it in your sanitization callback (from register_setting).

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)