Viewing 1 replies (of 1 total)
  • Thread Starter jarc100

    (@jarc100)

    I figured it out. The right way to do it is:

    your-url/wp-json/posts/?type=your-type&filter[p]=ID

Viewing 1 replies (of 1 total)

The topic ‘Get custom post type by its ID’ is closed to new replies.