This hook is run after a notification email is re-sent.
quform_post_resend_notification_X_X
This hook is run for a single notification, after it is re-sent.
Example
12
3
| add_action('quform_post_resend_notification_1_1', function (Quform_Notification $notification, Quform_Form $form, array $entry) { // Custom code }, 10, 3); |
add_action('quform_post_resend_notification_1_1', function (Quform_Notification $notification, Quform_Form $form, array $entry) { // Custom code }, 10, 3);
- On line 1, replace the
1_1
with the notification unique ID
Parameters
$notification
–Quform_Notification
– the notification instance$form
–Quform_Form
– the form instance$entry
–array
– the entry data (excluding form values – they are accessible from the$form
instance)
Accessing form data
quform_post_resend_notification
This hook is run for all notifications, after each notification is re-sent.
Example
12
3
| add_action('quform_post_resend_notification', function (Quform_Notification $notification, Quform_Form $form, array $entry) { // Custom code }, 10, 3); |
add_action('quform_post_resend_notification', function (Quform_Notification $notification, Quform_Form $form, array $entry) { // Custom code }, 10, 3);
Parameters
$notification
–Quform_Notification
– the notification instance$form
–Quform_Form
– the form instance$entry
–array
– the entry data (excluding form values – they are accessible from the$form
instance)