get_post_statuses


get_post_statuses ( No parameters )

Returns:
  • (string[]) Array of post status labels keyed by their status.
Defined at:

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.

Related Functions

get_post_states, get_post_status, get_post_stati, _post_states, get_post_status_object

Top Google Results

User discussions

wpseek mobile