The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

frm_send_separate_emails

Labels

This Discussion is public

Notifications

Hey! I'm using the hook example here: https://formidableforms.com/knowledgebase/frm_send_separate_emails/, and not getting the intended result (that is, emails are still sending in the same instance).

Looking at the example, one thing stands out as the possible source of the problem: what should I be replacing the number "4924" with?

Both 4933 and 4924 are Action IDs. That example is set up to work on multiple Email Actions simultaneously (so you don't have to re-code it for each email that you want sent). If you just have one email that you want this to work on, just include that one Action ID.
if ( in_array( $args['action']->ID, array( 4933 ) ) ) {
(Replace 4933 with your Email Action ID.)

Got it; thank you so much!

Discussion closed.