Execute a PHP Function when a Block is used and access it’s attributes

Execute a PHP Function when a Block is used and access it’s attributes

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