2020-05-01 / 5193阅 / 悠然
Get a list of post statuses.
Top ↑
(array|string)
(Optional)
Array or string of post status arguments to compare against properties of the global $wp_post_statuses objects.
Default value: array()
(string)
(Optional)
The type of output to return, either 'names' or 'objects'.
Default value: 'names'
(string)
(Optional)
The logical operation to perform. 'or' means>Default value: 'and'
(array) A list of post status names or objects.