add_user_to_blog Wordpress function


Description:

Add a user to a blog.


Syntax:


Arguments:

(int) $blog_id ID of the blog you're adding the user to.
(int) $user_id ID of the user you're adding.
(string) $role The role you want the user to have


Return Type:

(bool)


Define At:

wp-includes/ms-functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_user_to_blog


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×