New order number needs to be made available
-
The latest update has changed the hook used for generating the number. The problem is that the priority of the call is set to PHP_INT_MAX, which means that the nothing else can use the same woocommerce hook AND get the new order number.
I don’t see why this is forced to be such a late run routine. It should happen much earlier.
At the same time, it would also make sense for the plugin to expose a static method for getting the new order number based on post id.
Thanks
Tazziedave
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘New order number needs to be made available’ is closed to new replies.