Get Bricks

Filter: bricks/content/attributes

Programmatically add HTML attributes to the main tag.

add_filter( 'bricks/content/attributes', function( $attributes ) {
  // Add 'data-is-content' HTML attribute to main with value 'y'
  $attributes['data-is-content'] = 'y';
  return $attributes;
} );