[Pro - Form] Add CC or BCC email addresses dynamically when submitting a Elementor form, through the WordPress functions.php file #25846
MJNinja
announced in
Developers Community
Replies: 1 comment
-
|
By taking a closer look at the Elementor Forms API documentation, I made use of the elementor_pro/forms/process and elementor_pro/forms/wp_mail_headers hooks, and managed to get it to work. Here is what I did: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Start a discussion
Hi there,
The Elementor Support has send me here.
I am currently trying to dynamically add CC email addresses to an Elementor form through the WordPress functions.php file, but I can't seem to figure it out how. My client wants me to only add the CC email addresses when a specific value from a drop down / select field is selected. Not for the whole form.
I am able to program the logic when it should add the CC email addresses, but I can't figure out which Elementor Hook I should use and how to instruct it to add the CC emails. Any help is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions