| 4 | |
| 5 | UPDATE: So i just tested adding a new image via media, then added a post and set the featured image to the new image I uploaded and in fact, the post_parent is set to '0' not the post's ID. |
| 6 | |
| 7 | And when I remove the featured image, the featured image does not show and is not returned using the get_children() function. |
| 8 | |
| 9 | So this begs the question, if an featured image is added while editing the post and subsequently removed, is the image still a child of the post? if so there are two different cases for posts and featured images...confusing.... |