This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a site's consent policy.
The updateConsentPolicy()
function returns a Promise that resolves when the site's consent policy is updated.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Default consent policy defined by the site owner. Can be further limited by site visitors.