On this page
apply_filters( 'ms_user_list_site_actions', string[] $actions, int $userblog_id )
Filters the action links displayed next the sites a user belongs to in the Network Admin Users list table.
Parameters
$actionsstring[]-
An array of action links to be displayed. Default
'Edit','View'. $userblog_idint-
The site ID.
Source
File: wp-admin/includes/class-wp-ms-users-list-table.php. View all references
$actions = apply_filters( 'ms_user_list_site_actions', $actions, $site->userblog_id );
Related
Used By
| Used By | Description |
|---|---|
| WP_MS_Users_List_Table::column_blogs() wp-admin/includes/class-wp-ms-users-list-table.php | Handles the sites column output. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/ms_user_list_site_actions