From f8c0bbe28e24f31fa628906ff603ac70d123a6f6 Mon Sep 17 00:00:00 2001 From: ashubawork Date: Mon, 5 Jun 2023 13:20:53 +0300 Subject: [PATCH] - add a hook for private content --- includes/admin/core/list-tables/roles-list-table.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/admin/core/list-tables/roles-list-table.php b/includes/admin/core/list-tables/roles-list-table.php index 1ac73f4d..cd3a7edb 100644 --- a/includes/admin/core/list-tables/roles-list-table.php +++ b/includes/admin/core/list-tables/roles-list-table.php @@ -362,6 +362,8 @@ class UM_Roles_List_Table extends WP_List_Table { } } + $actions = apply_filters( 'um_role_row_actions', $actions, $id ); + return sprintf('%1$s %2$s', '' . stripslashes( $item['name'] ) . '', $this->row_actions( $actions ) ); }