Closed uyin85 closed 5 years ago
I'm having the same problem right now.
I managed to make it work!
You need to submit the custom field dict
including the id
.
post = WordpressPost()
post.title = 'Bumblebee'
post.custom_fields = [{'id':'28322', 'key': 'idtmdb', 'value': '1234'}]
client.call(posts.EditPost(16, post))
Thank you! Need to add custom_fields id in dict.
How to edit custom field value?
post = WordpressPost() post.title = 'Bumblebee' post.custom_fields = [{'key':'idtmdb', 'value':'1234'}] client.call(posts.EditPost(16, post))