WordPress.org

Forums

JSON API
create_post for custom post type (3 posts)

  1. hectorgarrofe
    Member
    Posted 2 years ago #

    Hello,

    Is there any way to a create_post with another type like "post".

    I want to create another post types but the 'post_type' optional argument doesn't work with create_post.

    Any idea or solution?

    Thanks in advance!

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

  2. oedipamaas
    Member
    Posted 1 year ago #

    I'd like to know if this is possible also! How is it this question isn't more popular?

  3. harding13
    Member
    Posted 1 year ago #

    You need to add

    &type=yourcustomtype

    to the URI

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JSON API
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic