Add custom fields to the rest API responses in wordpress


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

KernelPaniC 1 month 0 Answers 8 views 0

Leave an answer