[wp-hackers] post processing weirdness

Ryan Boren ryan at boren.nu
Sat Jun 25 22:19:00 GMT 2005


On Sat, 2005-06-25 at 16:48 -0400, Scott Merrill wrote:
> So I went to look at get_posts().  Duh -- it accepts a query string 
> formatted parameter!
> 
> So, are we in fact missing a get_post() function, which accepts the post 
> ID of a post to fetch?

get_post() is in functions.php and accepts either a post ID or a
reference to an existing post object.

Ryan



More information about the wp-hackers mailing list