WordPress开发者和主题制作者的搜索引擎



media_row_actions ›

Since2.8.0
已弃用n/a
apply_filters( 'media_row_actions', $actions, $post, $this->detached )
参数: (3)
  • (string[]) $actions An array of action links for each attachment. Default 'Edit', 'Delete Permanently', 'View'.
    Required: Yes
  • (WP_Post) $post WP_Post object for the current attachment.
    Required: Yes
  • (bool) $detached Whether the list table contains media not attached to any posts. Default true.
    Required: Yes
定义在:
文档:

Filters the action links for each attachment in the Media list table.





源码

return apply_filters( 'media_row_actions', $actions, $post, $this->detached );