Exposing CPTs in API

  • Solved
  • Posted 2 years ago

Hello,

I have managed to expose any present and future CPTs to the API automatically but they all appear as strings (rich and plain text fields but that’s fine) and non-string fields don’t appear at all.

Could you please tell me :
– How single select values are stored in the database
– How the link between a field and a relation in wp_voxel_relation is stored in the database
– How the type of Voxel custom field is stored

Thanks a lot
Joachim