WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Get all posts by author including drafts (2 posts)

  1. monkeypunch3
    Member
    Posted 4 months ago #

    Is there a way to get a list of all posts by a specific user and if possible get the drafts from that user as well? For example, something like, "?json=get_posts&count=6&authorID=120".

    http://wordpress.org/plugins/json-api/

  2. monkeypunch3
    Member
    Posted 4 months ago #

    I found the way to get posts by author in the get_author_posts" method. IE, "?json=get_author_posts&id=2". It doesn't include drafts posts though.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.