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



page_row_actions › WordPress过滤钩子

Since2.8.0
已弃用n/a
apply_filters( 'page_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 Pages list table.

The filter is evaluated only for hierarchical post types.





源码

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