_media_states


_media_states ( $post, $echo = true )

Parameters:
  • (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.
Returns:
  • (string) Media states string.
Defined at:
Change Log:
  • 5: .

Description

Outputs the attachment media states as HTML.

Related Functions

get_media_states, get_media_items, _media_button, media_buttons, get_media_item

Top Google Results

User discussions

wpseek mobile