legal_add_section
Append a section to a legal document in WordPress and return the resolved slug for shortcode addressing.
Instructions
Append a section to a legal document. Returns the resolved slug, which is what shortcodes address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document type | |
| body | Yes | HTML body | |
| site | Yes | Site id (see list_sites) | |
| slug | No | ||
| level | No | 2 or 3, default 2 | |
| heading | Yes |