Add WordPress hook outside of Plugin or Theme

You want a “Must Use Plugin”. Any PHP files placed in wp-content/mu-plugins will be run automatically, and can only be ‘deactivated’ by removing the file.

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