Can’t filter wp_get_attachment_link

Your code only works if you are actually calling wp_get_attachment_link() somewhere in your template. If you’re not calling the function, then the apply_filters() inside the function will never get called, and therefore your code will have nothing into which to hook.

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