page_row_actions

过滤钩子
apply_filters( 'page_row_actions', $actions, $post )
参数
  • (string[]) $actions An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore', 'Trash', 'Delete Permanently', 'Preview', and 'View'.
    Required:
  • (WP_Post) $post The post object.
    Required:
定义位置
相关勾子
tag_row_actionsuser_row_actionspost_row_actionsmedia_row_actionscomment_row_actions
相关方法
do_actionpopulate_optionsfavorite_actionsget_optionremove_actionadd_action
引入
2.8.0
弃用
-

page_row_actions: 这是一个过滤钩子,允许你在WordPress管理中为页面的行添加自定义动作。它通常用于在页面行中添加自定义链接,以便快速访问特定功能。

过滤Pages列表表上的行操作链接数组。

仅对分级文章类型评估筛选器。

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

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-14 23:36:43

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: