apply_filters( ‘user_row_actions’, string[] $actions, WP_User $user_object )

Filters the action links displayed under each user in the Users list table.

Parameters

$actionsstring[]
An array of action links to be displayed.
Default 'Edit', 'Delete' for single site, and 'Edit', 'Remove' for Multisite.
$user_objectWP_User
WP_User object for the currently listed user.

Source

$actions = apply_filters( 'user_row_actions', $actions, $user_object );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.