[wp-hackers] Is there no get_post_attachments() function(ality)?
austin at ilfilosofo.com
Wed Sep 15 01:48:47 UTC 2010
On Tue, Sep 14, 2010 at 8:42 PM, Mike Schinkel
<mikeschinkel at newclarity.net> wrote:
> I just had a need to load a list of attached photos for a post but try as I might I couldn't find a function to retrieve them, a function I would expect to be called something like get_post_attachments().
> I'm emailing to see if I overlooked something in core; did I miss a function to do what I was looking for?
How about get_children()?
More information about the wp-hackers