The members members roles row actions hook.
Published Date - July 31, 2023
$actions = apply_filters( 'members_roles_row_actions', $actions, $role );
$actions
$role
The following example is for adding a hook callback.
// define the members_roles_row_actions callback
function custom_members_roles_row_actions( $actions, $role ){
//custom code here
return $actions
}
//add the action
add_filter('members_roles_row_actions', 'custom_members_roles_row_actions', 10, 2)
The filter is defined in the following location(s).
members/admin/class-role-list-table.php
$actions = apply_filters( 'members_roles_row_actions', $actions, $role );