How to display _order_key as Custom Field

[ad_1]

Hi,

I need to get the _order_key (like _order_key array ( 0 => ‘wc_order_MQeJJG9ltgmvr‘, ) as a custom field to use the ‘wc_order_XXXXXX….’. How can I do it? If I use the “Open Custom Field Wizard” I can’t find it in the order, but of course is there.

I have try this: return (new CSimpleField(‘normal’,’meta_key’,’_order_key’,null,null))->GetHtml(); but it didn’t worked.

Can you help me?

Thanks a lot!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer