Action: RCB/Consent/Created

do_action( 'RCB/Consent/Created', $result, $args, $transaction )

An user has given a new consent.

Parameters:
Name Type Description
$result array
$args array

Passed arguments to MyConsent::persist as map (since 2.0.0)

$transaction Transaction

The full transaction representing the new consent (since 4.4.2), use this instead of $args