# Backend for? bricks/element/set\_root\_attributes and bricks/element/render\_attributes

**URL:** <https://forum.bricksbuilder.io/t/backend-for-bricks-element-set-root-attributes-and-bricks-element-render-attributes/10869>\
**Category:** Developers\
**Created:** [March 22, 2023, 2:52am UTC](https://forum.bricksbuilder.io/t/backend-for-bricks-element-set-root-attributes-and-bricks-element-render-attributes/10869 "2023-03-22T02:52:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenng](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/kenng/32/8_2.png) [@kenng](https://forum.bricksbuilder.io/u/kenng)\
**Post date:** [March 22, 2023, 2:52am UTC](https://forum.bricksbuilder.io/t/backend-for-bricks-element-set-root-attributes-and-bricks-element-render-attributes/10869/1 "2023-03-22T02:52:18Z")

</div>

Hi guys!

regarding the filter bricks/element/set\_root\_attributes and bricks/element/render\_attributes it only works on the frontend? How can we also apply to the builder rendering too?

---

<div class="post-metadata">

**Author:** ![sinanisler](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/sinanisler/32/34468_2.png) [@sinanisler](https://forum.bricksbuilder.io/u/sinanisler)\
**Post date:** [May 29, 2025, 1:27pm UTC](https://forum.bricksbuilder.io/t/backend-for-bricks-element-set-root-attributes-and-bricks-element-render-attributes/10869/2 "2025-05-29T13:27:36Z")

</div>

solution and example

this adds custom attributes to the targeted core bricks elements

because it is native bricks hook both frontend and backend with render it.

**BUT you need to refresh the editor to see the change** I dont know how to solve that yet  
maybe someone from team can help for that 🙂  
@Matej

> <https://github.com/sinanisler/snn-brx-child-theme/blob/54912dd866f31bb412e949fc7401fe4b240c2d14/includes/elements/gsap-multi-element-register.php#L597>
