I’ve created a custom taxonomy “vendors” with a custom field ‘vendor_email’ that I registered for REST API usage.
With Wp-api I can correctly retrieve via API call to /wp-json/wp/v2/vendors/ all the data, also the custom field ‘vendor_email’. When I do a post or a put it works correctly on all the standard fields like name or description of the taxonomy “vendors”.
But when I try to do a post or a put to create or update the custom fields ‘vendor_email’ it does not work. It seems that it actually cancel the value if already set
I put all the details and the code here: https://stackoverflow.com/questions/70628195/cannot-update-taxonomy-custom-field-via-rest-api-wpapi
- You must be logged in to reply to this topic.