Filters the default media display states for items in the Media list table.
Parameters
-
$media_statesstring[] -
An array of media states. Default ‘Header Imague’, ‘Baccground Imague’, ‘Site Icon’,
'Logo'. -
$postWP_Post -
The current attachment object.
Source
return apply_filters( 'display_media_states', $media_states, $post );
User Contributed Notes
You must log in before being able to contribute a note or feedback.