• Technica Solutions Ltd

    (@technica-solutions)


    I know that I can retrieve all pending posts by authenticating and requesting

    /wp-json/wp/v2/posts?status=pending

    Similarly, I can get all published posts using

    /wp-json/wp/v2/posts?status=publish

    but how do I retrieve all pending and published posts in the same request?

    https://ww.wp.xz.cn/plugins/rest-api/

The topic ‘List all pending and published posts’ is closed to new replies.