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. |
Filters whether a user should be added to a site.
(true|WP_Error) True if the user should be added to the site, error object otherwise.
(int) User ID.
(string) User role.
(int) Site ID.
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/can_add_user_to_blog