return custom taxonomies in post object
How would I go about returning the custom taxonomies in the post object with WP Query or with get_posts for that matter. yes, I know I can loop over my query and use get_terms or a number of other functions but for what I’m doing, this generates too many queries. I’d rather have all the data stored in one object/array and work with that.
- The topic ‘return custom taxonomies in post object’ is closed to new replies.