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

tech