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

consentmanager_create_consent

Create a new consent record.

Variable Description Data type
$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 the ID of the new consent record on success else false.