bricks_instantiate_section
Instantiates a section preset, applies optional overrides and variable substitutions, and returns Bricks elements ready to add to a page.
Instructions
Create an instance of a section preset with optional overrides. Returns the Bricks elements ready to be added to a page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overrides | No | Settings overrides to apply by element key or index (e.g., { "0": { "_background": {...} } }) | |
| variables | No | Variable substitutions for {{placeholder}} values in the preset (e.g., { heading: "Hello", button_text: "Click" }) | |
| preset_name | Yes | Name of the preset to instantiate | |
| use_learned_styles | No | If true, fill unfilled {{placeholders}} with learned site preferences (top colors, fonts, spacing). Explicit variables always take priority. |