This documentation describes unreleased changes on the main branch.

PostOrder

Enum backed by string.

use Saij\WpAppFramework\Query\PostOrder;

Post data to sort by; meta fields sort through their field (EventDetailsFields::capacity()).

Cases

CaseValueDescription
Date'date'
Modified'modified'
Title'title'
MenuOrder'menu_order'
Id'ID'
Slug'name'
Random'rand'A random order; not with cache().