Closed xMagiciaNx closed 5 years ago
Hello, I am trying deleting a post via it's ID, but this not working as intended. For example:
`from wordpress_xmlrpc import Client from wordpress_xmlrpc.methods.posts import DeletePost
postID = 12345 wpClient = Client('https://example.com/xmlrpc.php', 'admin', 'pass') DeletePost(postID) `
Although the function returns True, the post is still there online. Maybe its a wordpress issue, an issue with my website (doesn't allow deletion for security reason), something else ?
Thank you in advance.
Hello, I am trying deleting a post via it's ID, but this not working as intended. For example:
`from wordpress_xmlrpc import Client from wordpress_xmlrpc.methods.posts import DeletePost
postID = 12345 wpClient = Client('https://example.com/xmlrpc.php', 'admin', 'pass') DeletePost(postID) `
Although the function returns True, the post is still there online. Maybe its a wordpress issue, an issue with my website (doesn't allow deletion for security reason), something else ?
Thank you in advance.