Return all wordpress custom posts in specific multidimensional array
This does a query for all posts of type family guy, tosses them into the $fg_obj then loops through each post, grabs its tags, and creates a flat array of just the tag name. Then that array gets put into a new array with the post ID. This seems like a strange way of getting … Read more