legal_get_generator
Retrieve a WordPress legal document's generator state: active, library loaded, ticked modules and options, kept custom sections, and written sections. Requires cvrt-legal 0.7.0+.
Instructions
Get a generated document's state: active, library loaded, the selection (ticked modules, options, kept custom sections) and the sections it writes. Requires cvrt-legal 0.7.0+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Generated document: impressum, datenschutz or barrierefreiheit (BFSG statement, cvrt-legal 0.9.0+) | |
| site | Yes | Site id (see list_sites) |