How to use add_action inside files included by theme’s functions.php

Just wrap you include(s) in a function and hook it to after_setup_theme hook.

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