get_post_statuses
get_post_statuses ( No parameters )
Returns:- (string[]) Array of post status labels keyed by their status.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Retrieves all of the WordPress supported post statuses.Posts have a limited set of valid status values, this provides the
post_status values and descriptions.