Action: bricks_sendgrid_double_opt_in_handler
Runs before the SendGrid form action adds a new contact. Use it to trigger a custom double opt-in flow with the subscriber data Bricks collected.
Parameters
Section titled “Parameters”$new_subscriber_data(array): Subscriber data prepared for SendGrid, including the email address and optional first or last name.
Example usage
Section titled “Example usage”add_action( 'bricks_sendgrid_double_opt_in_handler', function( $new_subscriber_data ) { // Send a custom double opt-in email here.}, 10, 1 );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Thanks for sharing feedback. We're using it to improve these docs.