[wp-hackers] post processing weirdness

Scott Merrill skippy at skippy.net
Sun Jun 26 00:09:37 GMT 2005


Ryan Boren wrote:
> 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.

/me opens mouth and inserts foot.

Thanks.

-- 
skippy at skippy.net | http://skippy.net/

gpg --keyserver pgp.mit.edu --recv-keys 9CFA4B35
506C F8BB 17AE 8A05 0B49  3544 476A 7DEC 9CFA 4B35


More information about the wp-hackers mailing list