How to update post meta?
-
HI,
Can someone please advise on how to update post meta value via JSON request to API?
there is no exact examples in the documentation.For example I have added my meta key to json response with “register_rest_field” with get/update callbacks. I can GET it, it’s okay. But I can’t update it in either way. Googled all the way around, but no luck.
The key of my meta_value should be increased by 1 on each POST request. Is this even possible?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to update post meta?’ is closed to new replies.