legal_get_page
Check whether a WordPress legal document is linked to a page and published; returns page ID, post status, and ok flag to verify reachability and compliance.
Instructions
Get which page a legal document is linked to: linked, page_id, the page's post status, and ok (linked AND published). A required document only counts as reachable, and legal_status only turns compliant, when ok is true. Requires cvrt-legal 0.4.2+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document type | |
| site | Yes | Site id (see list_sites) |