Summery Summery
Filters the default media display states for items in the Media list table.
Syntax Syntax
Parameters Parameters
- $media_states
-
An array of media states. Default 'Header Image', 'Background Image', 'Site Icon', 'Logo'.
- $post
-
The current attachment object.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Added the $post parameter. |
3.2.0 | Introduced. |