Open uyin85 opened 5 years ago
I edit my custom field value.No error.But the result abnormal. When i login my edit post via Chrome, just click "update" post button, result will ok. How to execute click "update" button command?
value= {"0": {"name": "John", "url": "a.com"},"1":{"name":"Steve","url":"b.com"}} phpObject=loads(dumps(value)) post = WordpressPost() post.tittle = "Name" post.custom_fields =[{"id":"1234","key":"url","value":phpObject}] Client.call(posts.EditPost(13,post))
I edit my custom field value.No error.But the result abnormal. When i login my edit post via Chrome, just click "update" post button, result will ok. How to execute click "update" button command?
value= {"0": {"name": "John", "url": "a.com"},"1":{"name":"Steve","url":"b.com"}} phpObject=loads(dumps(value)) post = WordpressPost() post.tittle = "Name" post.custom_fields =[{"id":"1234","key":"url","value":phpObject}] Client.call(posts.EditPost(13,post))