W3cubDocs

/WordPress

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

Version Description
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_row_actions