Schema Documentation

PostTypeOrderByEnum

Description

Fields to order the PostType connection by

Values
Enum ValueDescription

DATE

Order by publish date

IN

Preserve the ID order given in the IN array

MENU_ORDER

Order by the menu order value

MODIFIED

Order by last modified date

NAME_IN

Preserve slug order given in the NAME_IN array

PARENT

Order by parent ID

SLUG

Order by slug
Example
"DATE"