_media_states


_media_states ( $post, $display = true )

Parameters:
  • (WP_Post) post The attachment post to retrieve states for.
  • (bool) display Optional. Whether to display 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, add_media_page

Top Google Results

User discussions

wpseek mobile