An easy way to find images used in Wordpress Post?
1 answer
Well, one more time I ask the question before looking carefully for the answer. A quick Google search showed the following piece of code:
$arrImages =& get_children('post_type=attachment&post_mime_type=image&post_parent=' . $iPostID );
I found this at http://wphackr.com/ .
+1
a source to share