[wp-hackers] add_users vs. create_users capabilities
Gaurav Aggarwal
gaurav91.2008 at gmail.com
Tue Mar 1 16:26:08 UTC 2011
Basic difference between 2 is that ..
wp_create_user allow you to create a user for your wordpress
installation while add_user_to_blog allows you to add( already
existing user) a user to a particular blog (not entire wp
installation). As you know Wordpress 3.0 onwards you can create a
network of blogs in a single wordpress installation.Depending on
situation functionality of both of these functions may vary.
Source :-
http://codex.wordpress.org/Function_Reference/wp_create_user
http://codex.wordpress.org/Function_Reference/add_user_to_blog
On Tue, Mar 1, 2011 at 6:23 PM, John Blackbourn
<johnbillion+wp at gmail.com> wrote:
> Anyone know what the difference between the 'add_users' and
> 'create_users' capabilities are? It seems that add_users isn't used
> anywhere, but the capability is still granted to administrators in the
> function populate_roles_300(). Is this a deprecated capability?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
regards,
Gaurav Aggarwal
IIIrd year student
Computers Engineering
Delhi College of Engineering
More information about the wp-hackers
mailing list