Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gravity forms api to (re)send notification emails

I am using the Gravity Forms API to manually add entries to a form I've created. According to the docs, the triggers that would normally send the notification emails to both admins and users are not fired:

Intended to be used for importing an entry object. The usual hooks that are triggered while saving entries are not fired here.

Does anyone know how I could programmatically trigger these notifications?

Thanks!

like image 976
Dwight Avatar asked Jun 01 '26 23:06

Dwight


1 Answers

You're looking for GFCommon::send_notification. There's a tutorial with a code example.

like image 123
Naomi Avatar answered Jun 04 '26 13:06

Naomi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!