2020-05-01 / 3063阅 / 悠然
Adds a user to a blog.
Use the ‘add_user_to_blog’ action to fire an event when users are added to a blog.
ID of the blog the user is being added to.
ID of the user being added.
The role you want the user to have
(true|WP_Error) True>WP_Error object if the user doesn't exist or could not be added.