uichemy_set_link
Point a button or text link somewhere — the editor's Link control. The key is the link's label slot (text_…) or, for an icon-only link, its icon slot (icon_url_…); uichemy_list_links lists them. Takes https://…, a site path (/contact), #anchor, mailto: or tel:. An empty href puts back the template's own. A key belongs to the LAYOUT, so a navbar used on every page gets the link on every page. The WordPress and Astro exports ship it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| href | Yes | Destination, or "" to clear. | |
| newTab | No | ||
| projectId | Yes |