display_media_states
最后更新于:2021-11-26 07:51:20
apply_filters( ‘display_media_states’, string[] $media_states, GC_Post $post )
Filters the default media display states for items in the Media list table.
参数
- $media_states
-
(string[])
An array of media states. Default ‘Header Image’, ‘Background Image’, ‘Site Icon’, ‘Logo’. - $post
-
(GC_Post)
The current attachment object.
源文件
文件: gc-admin/includes/template.php