Modifying the invoice number
-
In functions.php I’m using the following hook to modify the order number
add_filter( ‘woocommerce_order_number’, ‘change_woocommerce_order_number’, 9999 );
function change_woocommerce_order_number( $order_id ) { ……. return $new_order_id; }However, your plugin seems to ignore this or is overwriting this? Any idea?
Or do I have to create a different hook to work with your plugin? Can you provide an example if that is the case?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Modifying the invoice number’ is closed to new replies.