user_row_actions
过滤钩子
apply_filters( 'user_row_actions', $actions, $user_object )
- 参数
-
-
(string[])
$actions
An array of action links to be displayed.
Default ‘Edit’, ‘Delete’ for single site, and
‘Edit’, ‘Remove’ for Multisite.- Required: 是
-
(WP_User)
$user_object
WP_User object for the currently listed user.- Required: 是
-
(string[])
- 定义位置
-
-
wp-admin/includes/class-wp-users-list-table.php
, line 514
-
wp-admin/includes/class-wp-users-list-table.php
- 引入
- 2.8.0
- 弃用
- –
过滤显示在用户列表表中每个用户下的动作链接。
$actions = apply_filters( 'user_row_actions', $actions, $user_object );
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。