_post_states ( $post, $echo = true )
- (WP_Post) post The post to retrieve states for.
- (bool) echo Optional. Whether to echo the post states as an HTML string. Default true.
Defined at:Change Log:
- (string) Post states string.
- Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Function to echo or return the post states as HTML.