Show ‘draft’ posts
-
I have a situation in which I have to show ‘draft’ posts to editors on the front-end. I used a pre_get_posts filter to include ‘draft’ in my loop. However, when I use the MDTF filters, all the results are just ‘published’ posts.
Is there a way to allow ‘any’ post_status in search results?
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Show ‘draft’ posts’ is closed to new replies.