Issue adding date created to order number when creating order manually in WooCommerce
I use the following code to modify the order number in WooCommerce. add_filter( 'woocommerce_order_number', 'change_woocommerce_order_number', 1, 2); function change_woocommerce_order_number( $order_id, $order ) { $prefix = '160-'; // you will need to get your city as a variable to pass in…