bricks_move_element
Reposition a Bricks Builder element to a new parent or adjust its order within the parent's children array.
Instructions
Move an element to a different parent or position within parent's children array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site key for multi-site support. Available: main. Defaults to "main". | |
| post_id | Yes | The page/post ID | |
| post_type | No | Post type slug. Use "pages" for pages, "posts" for posts, or any registered CPT slug (e.g., "product", "portfolio"). Defaults to "pages". | |
| element_id | Yes | The element ID to move | |
| new_parent_id | Yes | The new parent element ID or 0 for root | |
| position | No | Position index in new parent's children (optional, defaults to end) |