Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Getting all custom posts where parent!=0 #1927

@brandondurham

Description

@brandondurham

I have a hierarchical custom post type called Special Series. To get all top-level Special Series for a menu, I use this:

/wp-json/wp/v2/special-series?parent=0&filter[order]=ASC

How can I get all child Special Series posts, excluding the posts where parent=0?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions