Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions

consentmanager_update_consent

Update a consent record.

Variable Description Data type
$consent *
The ID of the consent record to update.
int
$name *
The name of the individual giving consent.
string
$email *
The email address of the individual.
string
$telephone *
The telephone number of the individual.
string
$consent_usage *
Description of the intended usage for which consent is given.
string
$notes
Any additional notes related to the consent record.
string
$expires
The expiry date of the consent, formatted as a string.
string

Return values

Returns true if the consent record was successfully updated else false.