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!
You’re looking for GFCommon::send_notification. There’s a tutorial with a code example.