ms_user_list_site_actions WordPress Action Hook
The ms_user_list_site_actions hook is used to add new items to the list of site-level actions displayed on the WordPress User List page. This hook is useful for customizing the list of actions displayed for each user on the User List page, or for adding new actions that can be performed on multiple sites at once.
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
- $actions
(string[])An array of action links to be displayed. Default 'Edit', 'View'.
- $userblog_id
(int)The site ID.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |