ContentStatus
: string
in package
Content status types (for posts, pages, events)
Table of Contents
Cases
Methods
- badgeColor() : string
- Get status badge color for UI
- label() : string
- Get status label for display
- values() : array<string|int, string>
- Get all status values as an array
Cases
DRAFT
PUBLISHED
SCHEDULED
Methods
badgeColor()
Get status badge color for UI
public
badgeColor() : string
Return values
stringlabel()
Get status label for display
public
label() : string
Return values
stringvalues()
Get all status values as an array
public
static values() : array<string|int, string>