[wp-xmlrpc] An request for comments API: getRecentComments()

Joseph Scott joseph at josephscott.org
Mon May 4 14:59:31 GMT 2009


On May 4, 2009, at 6:48 AM, Marcelo Jedi wrote:

> I will test it. Since documentation talked about "for a given post", I
> didn't think it was possible. But code is showing that I can use
> post_id = '' (http://core.trac.wordpress.org/browser/tags/2.7/xmlrpc.php#L1100 
> )



Correct, but no providing a post_id you'll get the most recent  
comments across all posts.  The wp.getComments method is very flexible.

--
Joseph Scott
joseph at josephscott.org
http://josephscott.org/






More information about the wp-xmlrpc mailing list