Used By
Used By | Description |
---|---|
wp-admin/includes/template.php: _media_states() | Outputs the attachment media states as HTML. |
Filters the default media display states for items in the Media list table.
(string[]) An array of media states. Default 'Header Image', 'Background Image', 'Site Icon', 'Logo'.
(WP_Post) The current attachment object.
Version | Description |
---|---|
4.8.0 | Added the $post parameter. |
3.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/display_media_states