Does adding a callback like this to wp_head allows you to add additional content?

Does adding a callback like this to wp_head allows you to add additional content?

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