WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. monkeypunch3
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.