Filter: bricks/footer/attributes
Programmatically add HTML attributes to the footer tag.
add_filter( 'bricks/footer/attributes', function( $attributes ) { // Add 'data-is-footer' HTML attribute to footer with value 'y' $attributes['data-is-footer'] = 'y';
return $attributes;} ); Was this page helpful?