[wp-hackers] wordpress trash and xmlrpc
eric at eam.me
Wed Dec 14 16:38:13 UTC 2011
Just FYI, there's a separate XMLRPC mailing list.
But since you're here already ... You can't place a post in the trash using
XMLRPC. When a post is placed in the trash, it's given a post status of
"trash." The XMLRPC post editing functions only support setting a post
status of the following:
But this means you can set a post status as something other than "trash" if
you already know the post ID. Just use the 'metaWeblog.editPost' method.
There is no function (at the moment) to empty the trash ...
On Wed, Dec 14, 2011 at 8:01 AM, fris <fris at fris.net> wrote:
> Using wordpress xmlrpc, is it possible to restore a post from the trash?
> Also is it possible to empty the trash via xmlrpc?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers