Core Function
View Source on Trac ↗ get_post_statuses()
get_post_statuses( ) Retrieves all of the WordPress supported post statuses.
Return Value
(string[])
Array of post status labels keyed by their status.
Function Information
Since Version
2.5.0
Source File
wp-includes/post.php
Advertisement