Available Since: V1.0.0
Test if the user has given consent to set cookies, modules and snippets can use cookieconsent::consentGiven().
Parameter | Description |
---|---|
then | The string to output if consent has been given. |
else | The optional string to output if consent has not been given. |