Created
April 10, 2020 12:16
-
-
Save New0/7313c90648fd644b95295c268a8143d1 to your computer and use it in GitHub Desktop.
Example how to get submission data in 'caldera_forms_autoresponse_mail' filter hook.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Filter the email sent via the autoresponse processor | |
*/ | |
add_filter( 'caldera_forms_autoresponse_mail', function( $email_message, $config, $form, $entry_id){ | |
$entry = Caldera_Forms::get_entry($entry_id,$form); | |
return $email_message; | |
}, 10, 4 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment