Changing old orders to delivered without Notification
-
We’re doing some housecleaning and need to change some old orders to wc-delivered, however we DO NOT want to send out delivery email notifications to these old orders (some are a couple years old). Our plan is to update the wp_posts table directly via an update statement. Can we update the wp_post table status directly?
I don’t see a hook that monitors (transition_post_status) so I’m assuming there’s either a cron job looking at entries in the wp_posts table that need email notification or there is some other trigger happening on the moment that orders are moved from complete to delivered status.
We tracked down delivered status emails to method delivered_shippment_status_email_trigger, however, that seems to be mapped to a rest route so anything could be making a request there.
Can you help shed some light on the mechanism that is used to determine notifications? Your help here is appreciated. Thank you!
- The topic ‘Changing old orders to delivered without Notification’ is closed to new replies.