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 );