Type
The loop type type
is for looping through loop types or post types. Here are the query parameters and fields.
Query parameters
builtin
- If true, will return WordPress default post types. Use false to return only custom post types.
Type: booleanpublic
- If true, only public post types will be returned.
Type: boolean
Fields
description
- Post type descriptionlabel
- Post type label (singular)label_plural
- Post type label (plural)name
- Post type name/slug