Action: RCB/Consent/SetCookie

do_action( 'RCB/Consent/SetCookie', $cookieName, $cookieValue, $result, $revoke, $uuid )

Real Cookie Banner saved the cookie which holds information about the user with UUID, revision and consent choices.
Parameters:
Name Type Description
$cookieName string
$cookieValue string
$result boolean Got the cookie successfully created?
$revoke boolean `true` if the cookie should be deleted
$uuid string
array
Since:
  • 2.0.0