Used By
Used By | Description |
---|---|
wp-includes/ms-functions.php: add_user_to_blog() | Adds a user to a blog, along with specifying the user’s role. |
Fires immediately after a user is added to a site.
(int) User ID.
(string) User role.
(int) Blog ID.
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/add_user_to_blog