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