Add custom fields to the rest API responses in wordpress

Question

I created the following additional shipping_vatcodefield, and would like to print it via JSON.
It currently works, but it doesn’t print the right way.

enter image description here

I would like to insert it as in the image below.

Some advice?
enter image description here

0
KernelPaniC 5 months 2020-12-23T10:11:21-05:00 0 Answers 8 views 0

Leave an answer

Browse
Browse