Custom field array | WordPress.org

[ad_1]

Hello,

We created a Custom Field to display the VAT number, we use the “Custom field Wizard” to identify the corect one and use that.

In our case we have this code:

return (new CArrayField(‘normal’,’meta’,’av_facturare’))->GetHtml();

But this is returning an array with more data:

tip_facturare: pers-jur
VAT: 41012350
nr_reg_com: J1/1948/2001

How can we display only VAT value like “41012350” ?

 

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