Please, adapt following code to modify order numbers
add_filter( 'woocommerce_order_number', function($num,$order){ if( $order->get_meta('_wpo_order_creator') ) $num = "PH" . $num; return $num; }, PHP_INT_MAX, 2 );
Modified on: Tue, 24 Dec, 2019 at 4:48 PM
Please, adapt following code to modify order numbers
add_filter( 'woocommerce_order_number', function($num,$order){ if( $order->get_meta('_wpo_order_creator') ) $num = "PH" . $num; return $num; }, PHP_INT_MAX, 2 );
Did you find it helpful? Yes No
Send feedback