Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to filter only one action with hf_action_email_to?

$
0
0

Replies: 0

Current situation:
First action is a notification to the website owner
Second action is a thank you mail for the contact form sender

First action requires dynamically set recipients.
Which is working using the “hf_action_email_to” filter.
BUT it also changes the “TO”-field for the second action, which makes no sense of course.

How can I only change it for a specific action?


Viewing all articles
Browse latest Browse all 59525

Trending Articles