jsonfeed-wp icon indicating copy to clipboard operation
jsonfeed-wp copied to clipboard

Hide private posts

Open tdittmar opened this issue 3 years ago • 3 comments

I can't seem to find a way to filter posts by status in the URL (like /feed/json?post_status=publish). Currently, the feed for one post type also returns private items, which I want to exclude from the feed. How would I achieve that?

tdittmar avatar Sep 09 '21 08:09 tdittmar

Good catch, thanks. I'm not sure where to hook into this but maybe @dshanske has an idea.

manton avatar Sep 09 '21 18:09 manton

Did you try looking when not logged in? I'll investigate this either way.

dshanske avatar Sep 09 '21 22:09 dshanske

Actually I haven't tried when not logged in. While that might be the cause, I still thank you for investigating.

tdittmar avatar Sep 10 '21 08:09 tdittmar