media_row_actions
最后更新于:2021-11-27 07:34:29
apply_filters( ‘media_row_actions’, string[] $actions, GC_Post $post, bool $detached )
Filters the action links for each attachment in the Media list table.
参数
- $actions
-
(string[])
An array of action links for each attachment. Default ‘Edit’, ‘Delete Permanently’, ‘View’. - $post
- $detached
-
(bool)
Whether the list table contains media not attached to any posts. Default true.
源文件
文件: gc-admin/includes/class-gc-media-list-table.php