Retrieve just Post IDs from multiple categories
-
I’m trying to get a list of post IDs from multiple categories and I’m dealing with thousands of posts per category so I don’t want to get the whole post object when all I need is the post’s ID.
Anyone know of a way to return just just the IDs of posts instead of the whole post object?
(Sort of like get_posts() but all I need is the ID’s returned)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Retrieve just Post IDs from multiple categories’ is closed to new replies.