get_post_status_object
get_post_status_object ( $post_status )
Parameters:- (string) post_status The name of a registered post status.
See:Returns:- (stdClass|null) A post status object.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Retrieves a post status object by name.