_media_states ( $post, $echo = true )
- (WP_Post) post The attachment 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) Media states string.
- Introduced in WordPress: 3.2.0
- Deprecated in WordPress: —
Outputs the attachment media states as HTML.