update_post_meta saves data but does not show in Order backend


I want a plugin to add some data into an order with

update_post_meta( $order_id, 'tiene_envio',  $envios );

The data gets added correctly to DB but it is not showing up in Orders "Customs fields".
How can I make it appear there?


Sven Moller 2 months 0 Answers 8 views 0

Leave an answer