[XML-RPC][Elementor] Can’t edit post

Question

I try to edit post by XML-RPC.
I use python. The getting, editing and updating was successful, but I don’t see any changes on my site!

I think, Plugin Elementor is case of this problem, because in standard console i see new version of publication in revisions. But I don’t see new page on site (i also checked from phone with mobile internet).

If I deactivate Elementor, I see the changes, but my site will corrupted.

from wordpress_xmlrpc import Client
from wordpress_xmlrpc.methods import posts

client = Client('http://mysite.site/xmlrpc.php', user, passwd)
employers = client.call(posts.GetPosts({'post_type': 'elementor-popup','number': 100}))
i = employers[0]
newpage = NewHtmpPage(i.content)
i.content = newpage
client.call(posts.EditPost(i.id,i))

How I can update page with Elementor plugin

For example I use docs of this module

0
BinSmile 8 months 0 Answers 98 views 0

Leave an answer