How can I delete media by wordpress-xmlrpc?
zsesz110 opened this issue · comments
I want to delete all thing in media.
So, How can I delete media by wordpress-xmlrpc?
hope for reply, thanks!
Get the media id, then delete as if it were a post:
client.call(posts.DeletePost(image_id))