Limit query to active posts NOT to previous revisions
-
I apologize if this is off-topic.
I’m trying to remove all references to a shortcode. I’ve got a query that shows all posts that use the shortcode. However, it shows the post name if ANY revision of the post uses the shortcode. I need to limit the results to only show posts where the the CURRENT revision uses the shortcode. Any ideas on a strategy for this?
Thanks … Jeff
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Limit query to active posts NOT to previous revisions’ is closed to new replies.