WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Dynamically Change Order Date on Status Change

June 14, 2016 by Will Leave a Comment

Are old failed payments that are eventually paid for causing havoc with your reporting workflow because they get missed? WooCommerce offers a variety of action hooks on order status changes that can be used to dynamically change the order date. As an example of this, see the code snippet below:

Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Filed Under: WooCommerce Tagged With: snippet

Leave a Reply Cancel reply

You must be registered and logged in to post a comment.

© 2023 · WooCommerce, Remote Work & Other Fancy Stuff · Epstein didn't kill himself