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



post_row_actions ›

Since2.8.0
已弃用n/a
apply_filters( 'post_row_actions', $actions, $post )
参数: (2)
  • (string[]) $actions An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore', 'Trash', 'Delete Permanently', 'Preview', and 'View'.
    Required: Yes
  • (WP_Post) $post The post object.
    Required: Yes
定义在:
文档:

Filters the array of row action links on the Posts list table.

The filter is evaluated only for non-hierarchical post types.





源码

$actions = apply_filters( 'post_row_actions', $actions, $post );