acf-codifier
acf-codifier copied to clipboard
Block settings and attributes in block template
Is there a way to get block settings and attributes in the block template when using PHP renderer (or CallableRenderer)? Currently, PHP renderer extracts only $fields['data'], but I would like to have $block variable too ($fields['block'] in this case) to get, for example, block align or ID.