Add filter for WC Follow Ups
Issue #994
resolved
The booking plugin integrates with both of these plugins, the problem is that if we want to trigger the scheduled emails, the code looks only for appointments with “paid” or “confirmed” statuses.
if ( $status == 'paid' || $status == 'confirmed' ) {
$triggers[] = 'before_appointment_event';
$triggers[] = 'after_appointment_event';
}
/woocommerce-appointments/includes/integrations/woocommerce-follow-up-emails/class-wc-appointments-integration-follow-ups.php : line 523
or get_orders_for_email() function in the same file, accepts only ‘confirmed’, ‘paid’, ‘complete’ statuses.
It would be great if you could add a filter here. For now I have to remove the actions and re-add them for it to work.
Requested here.
Comments (2)
-
reporter -
- changed status to resolved
Added with 4.15.0
- Log in to comment
another request here.