awsmug / torro-forms

Torro Forms is an extendable WordPress form builder with Drag & Drop functionality, chart evaluation and more - with WordPress look and feel.
https://torro-forms.com
GNU General Public License v2.0
85 stars 32 forks source link

Actionhook for Notifications #332

Open mahype opened 7 years ago

mahype commented 7 years ago

In case of sending out Email-Notifications, an actionhook should be added to have a chance to influence on mail sending.

https://github.com/awsmug/torro-forms/blob/develop/components/actions/base-actions/email-notifications.php#L123

felixarntz commented 6 years ago

@mahype What would be a use-case for that?

Should it allow preventing the default wp_mail() call or should it be used for something else?

felixarntz commented 6 years ago

For reference: This should be global for all outgoing Torro Forms emails. Preferably an email class should be introduced.

felixarntz commented 6 years ago

Related: #123