display_media_states – filter
Filters the default media display states for items in the Media list table.
Parameters
- .
- ( 3.2.0 ) . .
- Added
- ( 4.8.0 ) the `$post` parameter. . . .
- $media_states
- ( string[] ) An array of media states. Default ‘Header Image’, ‘Background Image’, ‘Site Icon’, ‘Logo’. . . .
- ( WP_Post ) $post The current attachment object. . . .