legal_consent_log_get
Get all logged consent decisions for a given consent_id to audit what the banner asked and what the visitor chose.
Instructions
Get every logged consent decision for one consent_id (the banner's own record of what it asked and what the visitor chose). Requires manage_options. Logging itself stays off until legal_put_consent's log_enabled is set, which should only happen after the Datenschutz document has an 'einwilligungsnachweis' section describing it. Requires cvrt-legal 0.5.0+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| consent_id | Yes | The consent_id the banner generated for one visitor |