[wp-xmlrpc] Retrieving a list of all comments needing approval

Eric Mann eric at eamann.com
Tue Jul 27 17:59:38 UTC 2010


My first instinct is to get a list of published posts and then iterate through
the list of post IDs with the getComments method.  There's not a native
getPendingComments method ... though you could always write one and add it
through a plug-in ...


On July 27, 2010 at 5:44 PM Tim Golen <tim at golen.net> wrote:


> Hello, 
> 
> I was wondering if it was possible with the XMLRPC API to get a list of all
> the comments needing approval. The getCommentCount method gives you the number
> of comments, and the getComments method only gives you comments for a specific
> post. Is this possible?
> 
> 
> Thanks,
> Tim
>


More information about the wp-xmlrpc mailing list